Skip to content

Commit 1ddcde6

Browse files
author
Joe Hamman
committed
use setuptools to install tonic
1 parent 16895ea commit 1ddcde6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

setup.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import re
44
import sys
55
import warnings
6-
try:
7-
from setuptools import setup
8-
except:
9-
from distutils.core import setup
6+
from setuptools import setup, find_packages
107

118
MAJOR = 0
129
MINOR = 0
@@ -98,7 +95,6 @@ def write_version_py(filename=None):
9895
author='Joe Hamman',
9996
author_email='[email protected]',
10097
url='https://github.com/jhamman/tonic',
101-
packages=['tonic'],
102-
modules=['tonic.models', 'tonic.data_tools'],
98+
packages=find_packages(),
10399
scripts=['scripts/vic_utils'])
104100
# -------------------------------------------------------------------- #

0 commit comments

Comments
 (0)