Skip to content

Commit

Permalink
fix: no package import needed for console_scripts!
Browse files Browse the repository at this point in the history
Surprise! I didn't know how this worked. Turns out you don't need to 
import the whole package anyway. derp derp
  • Loading branch information
ericbarefoot committed May 19, 2020
1 parent 572efb5 commit 7265a3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from setuptools import setup, find_packages

from pyDeltaRCM import shared_tools
from pyDeltaRCM import command_line

setup(name='pyDeltaRCM',
version=shared_tools._get_version(),
Expand All @@ -16,6 +15,6 @@
install_requires=['matplotlib', 'netCDF4',
'basic-modeling-interface', 'scipy', 'numpy', 'pyyaml'],
entry_points={
'console_scripts': ['run_pyDeltaRCM=command_line:run_model'],
'console_scripts': ['run_pyDeltaRCM=pyDeltaRCM.command_line:run_model'],
}
)

0 comments on commit 7265a3d

Please sign in to comment.