From 908d0b55bf10a4d5daa5f077282755d1fd1ad51d Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Wed, 25 Sep 2024 12:39:57 +0200 Subject: [PATCH] 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 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a1d6b8334f..f910525521 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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__"}