From 4466f94e75b8c7d6dc1a3d363d1354d8582c784a Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Fri, 12 Jul 2024 11:27:07 +0200 Subject: [PATCH] setup.py: Specify minimum supported python version --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1409eacc521..6e65eafd118 100755 --- a/setup.py +++ b/setup.py @@ -10,8 +10,6 @@ from distutils.command import config, build from distutils.core import Extension -if sys.version_info < (3, 4): - sys.exit('Orange requires Python >= 3.4') try: import numpy @@ -81,6 +79,9 @@ 'Intended Audience :: Developers', ] +PYTHON_REQUIRES = ">=3.9" + + requirements = ['requirements-core.txt', 'requirements-gui.txt'] @@ -512,6 +513,7 @@ def setup_package(): data_files=DATA_FILES, install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, + python_requires=PYTHON_REQUIRES, entry_points=ENTRY_POINTS, zip_safe=False, test_suite='Orange.tests.suite',