Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
100 lines (72 loc) · 2.45 KB
/
Copy pathsetup.py
File metadata and controls
100 lines (72 loc) · 2.45 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# -*- coding: utf-8 -*-
# Don't know which rights should be reserved Ather Abbas
from setuptools import setup
import os
fpath = os.path.join(os.getcwd(), "README.md")
if os.path.exists(fpath):
with open(fpath, "r") as fd:
long_desc = fd.read()
else:
long_desc = "https://github.com/hyex-research/AquaFetch"
pandas_ver = 'pandas>=0.25.0, <= 2.3.3'
min_requirements = [
pandas_ver,
'requests',
]
extra_requires = [
# for plotting
"easy_mpl",
# spatial processing
# maybe manually download the wheel file and install
"fiona<=1.10.1", # processing of shapefiles in mtropics
# for reading data
'netCDF4',
'xarray<2025.10.1', # tested untill xarray 2025.10.1
# todo : following libraries are required by read_html
#lxml for reading html
#html5lib for reading html
]
all_requirements = min_requirements + extra_requires
wwt_requires = min_requirements + ['openpyxl']
setup(
name='aqua_fetch',
version = "1.2.1",
description='A Unified Python Interface for Water Resource Data Acquisition and harmonization',
long_description=long_desc,
long_description_content_type="text/markdown",
url='https://github.com/hyex-research/AquaFetch',
author='Ather Abbas',
author_email='ather.abbas.cheema@gmail.com',
package_data={'aqua_fetch': ['data/portugal_stn_codes.csv']},
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
packages=['aqua_fetch',
'aqua_fetch/wq',
'aqua_fetch/rr',
'aqua_fetch/rr/_camels',
'aqua_fetch/wwt',
'aqua_fetch/misc',
],
install_requires=min_requirements,
extras_require={
'all': extra_requires,
'wwt': wwt_requires,
}
)