forked from sentinel-hub/sentinelhub-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (29 loc) · 927 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import os
from setuptools import setup, find_packages
def parse_requirements(file):
return sorted(set(
line.partition('#')[0].strip()
for line in open(os.path.join(os.path.dirname(__file__), file))
) - set(''))
INSTALL_REQUIRES = parse_requirements("requirements.txt")
EXTRA_REQUIRES = parse_requirements("requirements-dev.txt")
setup(
name='sentinelhub',
version='0.1.7',
description='Sentinel Hub Utilities',
url='https://github.com/sinergise/sentinelhub',
author='Sinergise ltd.',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
install_requires=INSTALL_REQUIRES,
extras_require={
'DEV' : EXTRA_REQUIRES
},
zip_safe=False,
entry_points={
'console_scripts' : [
'sentinelhub.aws=sentinelhub.commands:aws',
'sentinelhub.download=sentinelhub.commands:download'
]
},)