Skip to content

Commit 9d744c5

Browse files
committed
Complete source distribution.
1 parent f209ae3 commit 9d744c5

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pyproject.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,19 @@ path = "PROJECT_NAME/__init__.py"
4545

4646
[tool.hatch.build]
4747
include = [
48-
"/PROJECT_NAME",
49-
"/README.md",
50-
"/CHANGELOG.md",
48+
"PROJECT_NAME",
49+
"README.md",
50+
"CHANGELOG.md",
5151
"LICENSE"
5252
]
5353

54-
[tool.hatch.build.targets.dist]
54+
[tool.hatch.build.targets.sdist]
5555
include = [
56-
"/examples"
56+
"*"
57+
]
58+
exclude = [
59+
".*",
60+
"dist"
5761
]
5862

5963
[tool.hatch.metadata.hooks.fancy-pypi-readme]
@@ -96,7 +100,8 @@ ignore = [
96100
'tox.ini',
97101
'tests/*',
98102
'examples/*',
99-
'.coveragerc'
103+
'.coveragerc',
104+
'requirements-dev.txt'
100105
]
101106

102107
[pimoroni]

0 commit comments

Comments
 (0)