Skip to content

Commit 43d0764

Browse files
committed
Fix.
1 parent 00c02a3 commit 43d0764

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

pyproject.toml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling", "hatch_vcs"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "pytask_stata"
@@ -36,6 +36,23 @@ Changelog = "https://github.com/pytask-dev/pytask-stata/blob/main/CHANGES.md"
3636
[project.entry-points]
3737
pytask = { pytask_stata = "pytask_stata.plugin" }
3838

39+
[tool.rye]
40+
managed = true
41+
42+
[tool.hatch.build.targets.sdist]
43+
exclude = ["tests"]
44+
only-packages = true
45+
46+
[tool.hatch.build.targets.wheel]
47+
exclude = ["tests"]
48+
only-packages = true
49+
50+
[tool.hatch.version]
51+
source = "vcs"
52+
53+
[tool.hatch.metadata]
54+
allow-direct-references = true
55+
3956
[tool.setuptools]
4057
include-package-data = true
4158
package-dir = { "" = "src" }

0 commit comments

Comments
 (0)