From: Bartosz Golaszewski Date: Mon, 17 Apr 2023 11:12:54 +0000 (+0200) Subject: bindings: python: exclude test submodules from the package list X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0494604dbe661845eae82c5e288ef39ceccc7ba7;p=qemu-gpiodev%2Flibgpiod.git bindings: python: exclude test submodules from the package list We already exclude 'tests' but 'tests.*' must be excluded as well if we don't want to install the gpiosim and procname submodules. Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 67ea52c..5ddd5e0 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -47,7 +47,7 @@ with open(src("gpiod/version.py"), "r") as fd: setup( name="libgpiod", - packages=find_packages(exclude=["tests"]), + packages=find_packages(exclude=["tests", "tests.*"]), ext_modules=extensions, version=__version__, author="Bartosz Golaszewski",