Skip to content

Commit

Permalink
fix(packaging): Correctly exclude the unwanted sub/modules
Browse files Browse the repository at this point in the history
- "test" - installed unwanted "test/efuse_scripts/*py"
- "docs" - installed unwanted "docs/en/conf.py"
- "ci" - added "*" to be future-proof
- "flasher_stub" no longer exists
  • Loading branch information
befeleme committed Sep 25, 2024
1 parent 5de78d3 commit 908d0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"*" = ["esptool/targets/stub_flasher/1/*", "esptool/targets/stub_flasher/2/*"]

[tool.setuptools.packages]
find = {exclude = ["ci", "flasher_stub", "test", "docs"]}
find = {exclude = ["ci*", "test*", "docs*"]}

[tool.setuptools.dynamic]
version = {attr = "esptool.__init__.__version__"}
Expand Down

0 comments on commit 908d0b5

Please sign in to comment.