Skip to content

Commit a4bced2

Browse files
nateprewittSamRemis
authored andcommitted
Exclude docs and tests from wheel (smithy-lang#481)
1 parent b4b9134 commit a4bced2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)