We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2d94d9 + 9a76ad6 commit 1922979Copy full SHA for 1922979
setup.py
@@ -5,8 +5,11 @@
5
6
try:
7
from setuptools import setup
8
+ setup_kwargs = {'entry_points': {'console_scripts':['landsat=landsat.landsat:__main__']}}
9
except ImportError:
10
from distutils.core import setup
11
+ setup_kwargs = {'scripts': ['bin/landsat']}
12
+
13
14
from landsat import __version__
15
@@ -29,13 +32,13 @@ def readme():
29
32
long_description=readme(),
30
33
author='Development Seed',
31
34
author_email='[email protected]',
- scripts=['bin/landsat'],
35
url='https://github.com/developmentseed/landsat-util',
36
packages=['landsat'],
37
include_package_data=True,
38
license='CCO',
39
platforms='Posix; MacOS X; Windows',
40
install_requires=INSTALL_REQUIRES,
41
test_suite='nose.collector',
- tests_require=TEST_REQUIRES
42
+ tests_require=TEST_REQUIRES,
43
+ **setup_kwargs
44
)
0 commit comments