Created
January 9, 2024 22:08
-
-
Save malcolmgreaves/7ce5380880b51664d91f588ae927ffb8 to your computer and use it in GitHub Desktop.
A pyproject.toml that uses setuptools & gets `dependencies` dynamically from a requirements.txt file.
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
[build-system] | |
requires = ["setuptools", "wheel", "setuptools_scm"] | |
build-backend = "setuptools.build_meta" | |
[project] | |
name = "mypackage" | |
requires-python = ">=3.10" | |
dynamic = ["dependencies"] | |
[tool.setuptools.dynamic] | |
dependencies = {file = "requirements.txt"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment