aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Howard <phil@gadgetoid.com>2023-10-11 13:12:46 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-10-12 21:07:11 +0200
commit07a326571501672ad8d00e00f7931aa480a5e569 (patch)
tree39a57a2c923a4774d57d3d6d93e6e15c7b91aeb2
parent22173b739eb9ac7b5ac4045e227be2dcfc86ac8c (diff)
downloadlibgpiod-07a326571501672ad8d00e00f7931aa480a5e569.tar.gz
bindings: python: require python 3.9.0
Required minimum version for PyModule_AddType helper. Signed-off-by: Phil Howard <phil@gadgetoid.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-rw-r--r--bindings/python/setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 66b79080..fd674aa8 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -60,6 +60,7 @@ with open("gpiod/version.py", "r") as fd:
setup(
name="libgpiod",
packages=find_packages(exclude=["tests", "tests.*"]),
+ python_requires=">=3.9.0",
ext_modules=extensions,
cmdclass={"build_ext": build_ext},
version=__version__,