-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate setup.cfg -> pyproject.toml
- Loading branch information
Showing
16 changed files
with
332 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,45 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
"pip" | ||
] | ||
requires = ["setuptools>=70"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "hydrotools" | ||
authors = [ | ||
{ name = "Jason A. Regina", email = "[email protected]" }, | ||
{ name = "Austin Raney", email = "[email protected]" }, | ||
] | ||
description = "Suite of tools for retrieving USGS NWIS observations and evaluating National Water Model (NWM) data." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"License :: Free To Use But Restricted", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"hydrotools.nwis_client>=3.2.1", | ||
"hydrotools.nwm_client[gcp]>=5.0.3", | ||
"hydrotools.events>=1.1.5", | ||
"hydrotools.metrics>=1.2.3", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hydrotools._version.__version__" } | ||
|
||
[project.optional-dependencies] | ||
develop = ["pytest"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/NOAA-OWP/hydrotools" | ||
Documentation = "https://noaa-owp.github.io/hydrotools" | ||
Repository = "https://github.com/NOAA-OWP/hydrotools" | ||
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,43 @@ | ||
[build-system] | ||
requires = ["setuptools>=70"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
|
||
[project] | ||
name = "hydrotools._restclient" | ||
authors = [{ name = "Austin Raney", email = "[email protected]" }] | ||
description = "General REST api client with built in request caching and retries." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"License :: Free To Use But Restricted", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"aiohttp", | ||
"aiohttp_client_cache[sqlite]>=0.9.0", | ||
"python-forge", | ||
"aiosqlite", | ||
"pandas", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hydrotools._restclient._version.__version__" } | ||
|
||
[project.optional-dependencies] | ||
develop = ["pytest", "pytest-aiohttp"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/NOAA-OWP/hydrotools" | ||
Documentation = "https://noaa-owp.github.io/hydrotools/hydrotools._restclient.html" | ||
Repository = "https://github.com/NOAA-OWP/hydrotools/tree/main/python/_restclient" | ||
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,37 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
"pip" | ||
] | ||
requires = ["setuptools>=70"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "hydrotools.caches" | ||
authors = [{ name = "Jason A. Regina", email = "[email protected]" }] | ||
description = "Variety of object caching utilities for OWPHydroTools." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"License :: Free To Use But Restricted", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = ["pandas", "tables"] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hydrotools.caches._version.__version__" } | ||
|
||
[project.optional-dependencies] | ||
develop = ["pytest"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/NOAA-OWP/hydrotools" | ||
Documentation = "https://noaa-owp.github.io/hydrotools/hydrotools.caches.html" | ||
Repository = "https://github.com/NOAA-OWP/hydrotools/tree/main/python/caches" | ||
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,37 @@ | ||
[build-system] | ||
requires = ["setuptools>=70"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
|
||
[project] | ||
name = "hydrotools.events" | ||
authors = [{ name = "Jason A. Regina", email = "[email protected]" }] | ||
description = "Various methods to support event-based evaluations." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"License :: Free To Use But Restricted", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = ["pandas"] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hydrotools.events.event_detection._version.__version__" } | ||
|
||
[project.optional-dependencies] | ||
develop = ["pytest"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/NOAA-OWP/hydrotools" | ||
Documentation = "https://noaa-owp.github.io/hydrotools/hydrotools.events.html" | ||
Repository = "https://github.com/NOAA-OWP/hydrotools/tree/main/python/events" | ||
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,46 @@ | ||
[build-system] | ||
requires = ["setuptools>=70"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
|
||
[project] | ||
name = "hydrotools.nwis_client" | ||
authors = [{ name = "Austin Raney", email = "[email protected]" }] | ||
description = "A convenient interface to the USGS NWIS Instantaneous Values (IV) REST Service API." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Science/Research", | ||
"License :: Free To Use But Restricted", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"pandas", | ||
"numpy", | ||
"hydrotools._restclient>=3.0.4", | ||
"aiohttp", | ||
"click", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hydrotools.nwis_client._version.__version__" } | ||
|
||
[project.optional-dependencies] | ||
develop = ["pytest", "pytest-aiohttp"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/NOAA-OWP/hydrotools" | ||
Documentation = "https://noaa-owp.github.io/hydrotools/hydrotools.nwis_client.html" | ||
Repository = "https://github.com/NOAA-OWP/hydrotools/tree/main/python/nwis_client" | ||
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues" | ||
|
||
[project.scripts] | ||
nwis-client = "hydrotools.nwis_client.cli:run" |
Oops, something went wrong.