Message ID | 20231011121246.9467-4-phil@gadgetoid.com |
---|---|
State | New |
Headers | show |
Series | bindings: python: optionally include module (...) | expand |
On Wed, Oct 11, 2023 at 2:13 PM Phil Howard <phil@gadgetoid.com> wrote: > > Required minimum version for PyModule_AddType helper. > > Signed-off-by: Phil Howard <phil@gadgetoid.com> > --- > bindings/python/setup.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bindings/python/setup.py b/bindings/python/setup.py > index 2e25981..fbba7ab 100644 > --- a/bindings/python/setup.py > +++ b/bindings/python/setup.py > @@ -91,6 +91,7 @@ if "GPIOD_WITH_TESTS" in environ and environ["GPIOD_WITH_TESTS"] == "1": > setup( > name="libgpiod", > packages=find_packages(exclude=["tests", "tests.*"]), > + python_requires=">=3.9.0", > ext_modules=extensions, > cmdclass={"build_ext": build_ext}, > version=__version__, > -- > 2.34.1 > Applied, thanks! Bart
diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 2e25981..fbba7ab 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -91,6 +91,7 @@ if "GPIOD_WITH_TESTS" in environ and environ["GPIOD_WITH_TESTS"] == "1": setup( name="libgpiod", packages=find_packages(exclude=["tests", "tests.*"]), + python_requires=">=3.9.0", ext_modules=extensions, cmdclass={"build_ext": build_ext}, version=__version__,
Required minimum version for PyModule_AddType helper. Signed-off-by: Phil Howard <phil@gadgetoid.com> --- bindings/python/setup.py | 1 + 1 file changed, 1 insertion(+)