-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (147 loc) · 4.81 KB
/
pyproject.toml
File metadata and controls
158 lines (147 loc) · 4.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[build-system]
requires = ["setuptools>=68", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "dms_datastore"
description = "Downloading tools and data repository management"
dynamic = ["version"]
authors = [
{name = "Eli Ateljevich", email = "Eli.Ateljevich@water.ca.gov"},
{name = "Nicky Sandhu", email = "psandhu@water.ca.gov"}
]
readme = "README.rst"
license = "MIT"
license-files = [
"LICENSE",
]
requires-python = ">=3.8,<3.14"
keywords = ["dms_datastore", "data", "repository", "download"]
classifiers = [
"Development Status :: 0 - Beta",
"Programming Language :: Python :: 3",
"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",
]
dependencies = [
"vtools3",
"pyyaml",
"beautifulsoup4",
"tqdm",
"requests",
"httpx",
"boto3",
"lxml",
"openpyxl",
"omegaconf>=2.3",
"paramiko",
"pandas>=2",
"numpy",
"xarray",
"dask",
"scikit-learn",
"matplotlib",
"cfgrib",
"diskcache",
"pytest",
"pytest-runner",
]
[project.optional-dependencies]
dev = [
"pandoc"
]
# These are the tools needed to perform documentation
doc = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-click",
"sphinx-design",
"sphinx-argparse",
"sphinxcontrib-bibtex",
"sphinxcontrib-mermaid",
"myst-parser",
"numpydoc",
"pillow>=4.0.0",
"nbsphinx",
"nbconvert",
"ipykernel",
"docutils",
"pandoc",
"matplotlib",
"ipython"
]
#These are the tools needed to perform testing.
test = [
"pytest>=3",
"pytest-cov",
"tox",
"click"
]
# If using pip, these would be used for the build
# similar tools are listed in python-package-conda.yml and if there are minimum versions (e.g. setuptools)
# this is where they should be spelled out
build = [
"build",
"pip",
"setuptools>68",
"wheel",
"setuptools-scm"
]
[project.urls]
Homepage = "https://github.com/CADWRDeltaModeling/dms_datastore"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["dms_datastore"]
exclude = ["docsrc"]
[tool.setuptools_scm]
write_to = "dms_datastore/_version.py"
[tool.setuptools.package-data]
dms_datastore = [
"config_data/*.csv",
"config_data/*.yaml",
"usgs_parameter_cd_query.txt",
"config_data/*.sh*",
"config_data/*.prj",
"config_data/*.dbf",
"config_data/*.txt",
]
[tool.pytest.ini_options]
norecursedirs = [".*", "*.egg*", "build", "dist", "conda.recipe"]
addopts = "--junitxml=junit.xml --ignore setup.py --ignore run_test.py --tb native --strict-markers --durations=20"
markers = ["serial: execute test serially (to avoid race conditions)"]
[project.scripts]
dms = "dms_datastore.__main__:cli"
download_noaa = "dms_datastore.download_noaa:download_noaa_cli"
download_hycom = "dms_datastore.download_hycom:download_hycom_cli"
download_hrrr = "dms_datastore.download_hrrr:download_hrrr_cli"
download_cdec = "dms_datastore.download_cdec:download_cdec_cli"
download_wdl = "dms_datastore.download_wdl:download_wdl_cli"
download_nwis = "dms_datastore.download_nwis:download_nwis_cli"
download_des = "dms_datastore.download_des:download_des_cli"
download_ncro = "dms_datastore.download_ncro:download_ncro_cli"
download_mokelumne = "dms_datastore.download_mokelumne:download_mokelumne_cli"
download_ucdipm = "dms_datastore.download_ucdipm:download_ucdipm_cli"
download_cimis = "dms_datastore.download_cimis:download_cimis_cli"
download_dcc = "dms_datastore.download_dcc:download_dcc_cli"
download_montezuma_gates = "dms_datastore.download_montezuma_gates:download_montezuma_gates_cli"
download_smscg = "dms_datastore.download_smscg:download_smscg_cli"
compare_directories = "dms_datastore.compare_directories:compare_dir_cli"
populate_repo = "dms_datastore.populate_repo:populate_main_cli"
station_info = "dms_datastore.station_info:station_info_cli"
reformat = "dms_datastore.reformat:reformat_cli"
auto_screen = "dms_datastore.auto_screen:auto_screen_cli"
inventory = "dms_datastore.inventory:inventory_cli"
usgs_multi = "dms_datastore.usgs_multi:usgs_multi_cli"
delete_from_filelist = "dms_datastore.delete_from_filelist:delete_from_filelist_cli"
data_cache = "dms_datastore.caching:data_cache_cli"
merge_files = "dms_datastore.merge_files:merge_files_cli"
dropbox = "dms_datastore.dropbox_data:dropbox_cli"
coarsen = "dms_datastore.coarsen_file:coarsen_ts_cli"
update_repo = "dms_datastore.update_repo:main"
update_flagged_data = "dms_datastore.update_flagged_data:main"
rationalize_time_partitions = "dms_datastore.rationalize_time_partitions:rationalize_time_partitions_cli"
spot_check = "dms_datastore.spot_check:spot_check_cli"
populate_daily = "dms_datastore.populate_daily:populate_daily_cli"