Skip to content

Commit

Permalink
Dynamic config pyproject.toml
Browse files Browse the repository at this point in the history
Use dynamic to specify depends from requirements.txt. This should be more maintainable. and may resolve some of the install issues reveries were having. setuptools>=61.0 already required.
  • Loading branch information
jbousquin authored Jul 5, 2024
1 parent f170487 commit b125f65
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,15 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"geopandas",
"pint",
"dataretrieval",
"pandas",
"numpy",
"requests",
]

[project.optional-dependencies]
test = ["pytest"]
doc = ["sphinx"]
dynamic = ["dependencies", "optional-dependencies"]

[project.urls]
"Homepage" = "https://github.com/USEPA/harmonize-wq"
"Documentation" = "https://usepa.github.io/harmonize-wq/"
"Bug Tracker" = "https://github.com/USEPA/harmonize-wq/issues"

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements-dev.txt"] }

0 comments on commit b125f65

Please sign in to comment.