Skip to content

Commit 730c1b5

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
fix(build): include more files in sdist builds (#1504)
1 parent 7f06771 commit 730c1b5

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
@@ -105,6 +105,21 @@ include = [
105105
[tool.hatch.build.targets.wheel]
106106
packages = ["src/openai"]
107107

108+
[tool.hatch.build.targets.sdist]
109+
# Basically everything except hidden files/directories (such as .github, .devcontainers, .python-version, etc)
110+
include = [
111+
"/*.toml",
112+
"/*.json",
113+
"/*.lock",
114+
"/*.md",
115+
"/mypy.ini",
116+
"/noxfile.py",
117+
"bin/*",
118+
"examples/*",
119+
"src/*",
120+
"tests/*",
121+
]
122+
108123
[tool.hatch.metadata.hooks.fancy-pypi-readme]
109124
content-type = "text/markdown"
110125

0 commit comments

Comments
 (0)