Skip to content

Commit a9d2331

Browse files
authored
Exclude docs and tests from wheel (smithy-lang#481)
1 parent 9e5a5c2 commit a9d2331

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codegen/core/src/main/java/software/amazon/smithy/python/codegen/generators/SetupGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,10 @@ private static void writePyproject(
170170
requires = ["hatchling"]
171171
build-backend = "hatchling.build"
172172
173-
[tool.hatch.build]
173+
[tool.hatch.build.targets.bdist]
174174
exclude = [
175175
"tests",
176+
"docs",
176177
]
177178
178179
[tool.pyright]

0 commit comments

Comments
 (0)