From 0494604dbe661845eae82c5e288ef39ceccc7ba7 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 17 Apr 2023 13:12:54 +0200 Subject: [PATCH] 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 --- bindings/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.30.2