Skip to content

Commit

Permalink
transition to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarq6c committed Nov 19, 2024
1 parent e97618e commit f22c3d1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 49 deletions.
44 changes: 39 additions & 5 deletions python/metrics/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
"pip"
]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"

[project]
name = "hydrotools.metrics"
authors = [
{name = "Jason A. Regina", email = "[email protected]"},
]
description = "Variety of standard model evaluation metrics."
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: Free To Use But Restricted",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Hydrology",
"Operating System :: OS Independent"
]
dependencies = [
"numpy>=1.20.0",
"pandas",
]
dynamic = ["version"]

[tool.setuptools.dynamic]
version = {attr = "hydrotools.metrics._version.__version__"}

[project.optional-dependencies]
develop = ["pytest"]

[project.urls]
Homepage = "https://github.com/NOAA-OWP/hydrotools"
Documentation = "https://noaa-owp.github.io/hydrotools/hydrotools.metrics.html"
Repository = "https://github.com/NOAA-OWP/hydrotools/tree/main/python/metrics"
"Bug Tracker" = "https://github.com/NOAA-OWP/hydrotools/issues"
44 changes: 0 additions & 44 deletions python/metrics/setup.cfg

This file was deleted.

0 comments on commit f22c3d1

Please sign in to comment.