fix(packaging): Correctly exclude the unwanted sub/modules

- "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
This commit is contained in:
Karolina Surma
2024-09-25 12:39:57 +02:00
parent 5de78d34f3
commit 908d0b55bf

View File

@@ -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__"}