Skip to content

Commit 4317c25

Browse files
author
Joe Hamman
committed
fixes to setup.py for module imports
1 parent e608d64 commit 4317c25

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ data/
44
modelforcings/
55
modeloutput/
66
plots/
7+
build/
8+
dist/
79
#file types to ignore
810
*junk*
911
*tmp*

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ def write_version_py(filename=None):
9494
# Run Setup
9595
setup(name='tonic',
9696
version=FULLVERSION,
97-
description='tonic is a Python toolkit for distributed hydrologic modeling',
97+
description='tonic is a Python toolkit for distributed hydrologic models',
9898
author='Joe Hamman',
9999
author_email='[email protected]',
100100
url='https://github.com/jhamman/tonic',
101-
packages=['tonic', 'tonic.models', 'tonic.data_tools'],
101+
packages=['tonic'],
102+
modules=['tonic.models', 'tonic.data_tools'],
102103
scripts=['scripts/vic_utils'])
103104
# -------------------------------------------------------------------- #

tonic/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = '0.0.0.dev-0440a5b'
1+
version = '0.0.0.dev-e608d64'
22
short_version = '0.0.0'

0 commit comments

Comments
 (0)