Skip to content

Commit 1cbea15

Browse files
committed
Add version.
1 parent 7b2c0af commit 1cbea15

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

pyproject.toml

+3-14
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ dev-dependencies = [
4242
"tox-uv>=1.8.2",
4343
]
4444

45+
[tool.hatch.build.hooks.vcs]
46+
version-file = "src/pytask_stata/_version.py"
47+
4548
[tool.hatch.build.targets.sdist]
4649
exclude = ["tests"]
4750
only-packages = true
@@ -56,20 +59,6 @@ source = "vcs"
5659
[tool.hatch.metadata]
5760
allow-direct-references = true
5861

59-
[tool.setuptools]
60-
include-package-data = true
61-
package-dir = { "" = "src" }
62-
zip-safe = false
63-
platforms = ["any"]
64-
license-files = ["LICENSE"]
65-
66-
[tool.setuptools.packages.find]
67-
where = ["src"]
68-
namespaces = false
69-
70-
[tool.setuptools_scm]
71-
write_to = "src/pytask_stata/_version.py"
72-
7362
[tool.mypy]
7463
files = ["src", "tests"]
7564
check_untyped_defs = true

0 commit comments

Comments
 (0)