Skip to content

Commit

Permalink
Merge pull request #9 from GideonBear/fix_requirements
Browse files Browse the repository at this point in the history
Fix dependencies not being recognized by using `hatch-requirements-txt` instead of `setuptools.dynamic`
  • Loading branch information
jensjeflensje authored Jan 1, 2025
2 parents e97088b + 7e13aae commit 0b070e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["dependencies"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]

[project.urls]
"Homepage" = "https://github.com/jensjeflensje/marktplaats-py"
"Bug Tracker" = "https://github.com/jensjeflensje/marktplaats-py/issues"

[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"

0 comments on commit 0b070e1

Please sign in to comment.