Skip to content

Commit 1508b49

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
fix(build): include more files in sdist builds (#409)
1 parent 132e4a8 commit 1508b49

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pyproject.toml

+15
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,21 @@ include = [
9999
[tool.hatch.build.targets.wheel]
100100
packages = ["src/finch"]
101101

102+
[tool.hatch.build.targets.sdist]
103+
# Basically everything except hidden files/directories (such as .github, .devcontainers, .python-version, etc)
104+
include = [
105+
"/*.toml",
106+
"/*.json",
107+
"/*.lock",
108+
"/*.md",
109+
"/mypy.ini",
110+
"/noxfile.py",
111+
"bin/*",
112+
"examples/*",
113+
"src/*",
114+
"tests/*",
115+
]
116+
102117
[tool.hatch.metadata.hooks.fancy-pypi-readme]
103118
content-type = "text/markdown"
104119

0 commit comments

Comments
 (0)