Skip to content

Commit

Permalink
replace setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Jul 7, 2023
1 parent 8ae3cf2 commit b835a0c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 28 deletions.
38 changes: 38 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "setuptools-scm"]

[project]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Hydrology",
]
dependencies = ["pandas", "hydrotools.nwis-client"]
description = "Hy_Features Package."
dynamic = ["version"]
license= {text = "USDOC"}
name = "hypy"
readme = "README.md"
requires-python = ">=3.7"

[project.urls]
homepage = "https://github.com/NOAA-OWP/hypy"

[project.optional-dependencies]
test = [
"pytest>=7.0.0"
]

[tool.setuptools]
packages = ["hypy"]

[tool.setuptools.dynamic]
version = {attr = "hypy._version.__version__"}
28 changes: 0 additions & 28 deletions python/setup.py

This file was deleted.

0 comments on commit b835a0c

Please sign in to comment.