Skip to content

Commit 7214ebd

Browse files
valbergakx
authored andcommitted
Add wheel target configuration to hatch build process to include templates (#177)
1 parent 0fd7da9 commit 7214ebd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,16 @@ path = "allauth_2fa/__init__.py"
5656

5757
[tool.hatch.build.targets.sdist]
5858
include = [
59-
"/allauth_2fa",
59+
"/allauth_2fa/**/*.py",
60+
"/allauth_2fa/**/*.html",
61+
"/allauth_2fa/py.typed",
62+
]
63+
64+
[tool.hatch.build.targets.wheel]
65+
include = [
66+
"/allauth_2fa/**/*.py",
67+
"/allauth_2fa/**/*.html",
68+
"/allauth_2fa/py.typed",
6069
]
6170

6271
[tool.ruff]

0 commit comments

Comments
 (0)