We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09999b9 commit a5b4442Copy full SHA for a5b4442
copier.yaml
@@ -69,3 +69,8 @@ name:
69
type: str
70
help: The name of the project.
71
default: "{{ repo }}"
72
+
73
+package:
74
+ type: str
75
+ help: TODO
76
+ default: "{{ name }}"
template/pyproject.toml.jinja
@@ -60,13 +60,13 @@ branch = true
60
source = ["src/"]
61
62
[tool.hatch.build.hooks.vcs]
63
-version-file = "src/{{ name }}/_version.py"
+version-file = "src/{{ package }}/_version.py"
64
65
[tool.hatch.build.targets.sdist]
66
only-include = ["src/"]
67
68
[tool.hatch.build.targets.wheel]
-packages = ["src/{{ name }}/"]
+packages = ["src/{{ package }}/"]
[tool.hatch.version]
source = "vcs"
0 commit comments