Skip to content

Commit 47c1996

Browse files
committed
tweak contents of sdist package
1 parent 6af6ac3 commit 47c1996

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

pyproject.toml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ classifiers = [
2525
"Development Status :: 4 - Beta",
2626
"License :: OSI Approved :: MIT License"
2727
]
28-
include = [
29-
"LICENSE",
30-
"daffy/py.typed"
31-
]
3228

3329
dependencies = [
3430
"pandas>=1.5.1,<3.0.0",
@@ -52,6 +48,28 @@ dev = [
5248
requires = ["hatchling>=1.18.0"]
5349
build-backend = "hatchling.build"
5450

51+
[tool.hatch.build]
52+
include = [
53+
"daffy/**/*.py",
54+
"daffy/py.typed",
55+
"pyproject.toml",
56+
"README.md",
57+
"LICENSE",
58+
"docs/**/*",
59+
"tests/**/*",
60+
]
61+
exclude = [
62+
"mise.toml",
63+
".gitignore",
64+
".github/**/*",
65+
".vscode/**/*",
66+
"**/__pycache__",
67+
"**/*.pyc",
68+
]
69+
70+
[tool.hatch.build.targets.wheel]
71+
packages = ["daffy"]
72+
5573
[tool.coverage.run]
5674
branch = true
5775
source = ["daffy"]

0 commit comments

Comments
 (0)