-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
72 lines (61 loc) · 2.14 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# This file is part of Python Client Library for WCPMS.
# Copyright (C) 2024 INPE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/gpl-3.0.html>.
#
"""Python Client Library for Web Crop Phenology Metrics Service"""
import os
from setuptools import find_packages, setup
DIR = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(DIR, "VERSION"), "r") as file:
VERSION = file.read()
with open(os.path.join(DIR, "README.rst"), "r") as file:
LONG_DESCRIPTION = file.read()
long_description = LONG_DESCRIPTION,
docs_require = [
'Sphinx>=2.2',
'sphinx_rtd_theme',
'sphinx-copybutton',
]
install_requires = [
"urllib3==2.2.2",
"requests==2.32.3",
"pandas==2.2.2",
"matplotlib==3.9.0",
"scipy==1.13.1",
"datetime==5.5",
"ipython==8.26.0",
"geopandas==1.0.1 "
]
extras_require = {
'docs': docs_require,
}
extras_require['all'] = [ req for exts, reqs in extras_require.items() for req in reqs ]
setup(
name='wcpms',
packages=find_packages(),
include_package_data=True,
version = VERSION,
description='Python Client of the Web Crop Phenological Metrics Service for Earth Observation Data Cubes',
author='Gabriel Sansigolo',
author_email = "gabrielsansigolo@gmail.com",
url = "https://github.com/GSansigolo/wcpms.py",
extras_require=extras_require,
install_requires=install_requires,
long_description = LONG_DESCRIPTION,
setup_requires=['pytest-runner'],
tests_require=['pytest==4.4.1'],
test_suite='tests',
)