-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
45 lines (42 loc) · 1.67 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
from builtins import RuntimeError
import setuptools
import waterdetect
short_description = 'WaterDetect generates open water cover mask for L2A Sentinel 2 imagery without any a priori knowledge on the scene.'\
' It can also be used for Landsat 8 images and for other multispectral clustering/segmentation tasks.'
long_description = short_description
setuptools.setup(
name="waterdetect", # Replace with your own username
version=waterdetect.__version__,
author="Maurício Cordeiro",
author_email="[email protected]",
description=short_description,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cordmaur/WaterDetect",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
entry_points={
'console_scripts': ['waterdetect=runWaterDetect:main', 'process_ext_masks=runWaterDetect:process_ext_masks'],
},
include_package_data=True,
package_data={'waterdetect': ['../WaterDetect.ini', '../runWaterDetect.py']},
install_requires=[
'packaging',
'numpy>=1.17',
'scikit_learn>=0.19',
'matplotlib>=3.3',
'PyPDF2>=1.26',
'lxml>=4.5.0',
'scikit-image>=0.13',
'pillow>=7.0.0'
]
)
print('Finished instalation of the waterdetect package. Two scripts have been created. To know more about them you '
'can type the following commands:')
print('-> waterdetect -h')
print('-> process_ext_masks -h')