Skip to content

Commit b194997

Browse files
committed
python: Add requirements.txt to pyproject
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent c548076 commit b194997

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-vcs"]
2+
requires = ["hatchling", "hatch-vcs", "hatch-requirements-txt"]
33
build-backend = "hatchling.build"
44

55
[project]
@@ -49,6 +49,9 @@ ledmatrixgui = "inputmodule.cli:main_gui"
4949
#[tool.hatch.build.hooks.vcs]
5050
#version-file = "inputmodule/_version.py"
5151

52+
[tool.hatch.metadata.hooks.requirements_txt]
53+
files = ["requirements.txt"]
54+
5255
[tool.hatch.build.targets.sdist]
5356
exclude = [
5457
"/.github",

0 commit comments

Comments
 (0)