-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (74 loc) · 1.81 KB
/
Copy pathsetup.py
File metadata and controls
79 lines (74 loc) · 1.81 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
from setuptools import setup, find_packages
extras_require = {
"io": [],
"plot": [
"matplotlib<=3.8.4",
"pandas<=2.2.2"
],
"stat": [
"scipy<=1.13.0",
"numpy<=1.26.4"
],
"metstat": [
"pandas<=2.2.2"
],
"agg": [
"scipy<=1.13.0",
"pandas<=2.2.2",
"numpy<=1.26.4"
],
"preprocess": [
"xarray<=2024.4.0",
"netCDF4<=1.6.5",
"zarr<=2.17.0",
"pygrib<=2.1.5",
"pandas<=2.2.2"
],
"processing": [
"xarray<=2024.4.0",
"netCDF4<=1.6.5",
"zarr<=2.17.0",
"pygrib<=2.1.5",
"scipy<=1.13.0"
],
}
# Named install groups
extras_require["lite"] = (
extras_require["io"] +
extras_require["plot"] +
extras_require["metstat"] +
extras_require["agg"]
)
# Remove duplicates while preserving order
def dedup(seq):
seen = set()
return [x for x in seq if not (x in seen or seen.add(x))]
extras_require["all"] = dedup(
sum(extras_require.values(), [])
)
setup(
name="vcast",
version="1.0.0",
packages=find_packages(include=["vcast", "vcast.*"]),
description="VCasT: Verification and Forecast Evaluation Tool",
author="Vanderlei Vargas Jr.",
author_email="vanderlei.vargas@noaa.gov",
url="https://github.com/NOAA-GSL/VCasT",
install_requires=[
"pyyaml<=6.0.1",
"argparse", # standard lib in Python 3.2+, included for legacy consistency
"colorama<=0.4.6",
],
extras_require=extras_require,
python_requires=">=3.6",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
"vcast=vcast.cli:main",
]
},
)