From b1fbe94e0524e519196082b0f03eb559c54d733d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Mon, 18 Nov 2019 11:41:36 +0100 Subject: Add python_requires to the python setup This will avoid the current option of installing 5.13.x wheels on Python 3.8 environments. Task-number: PYSIDE-1140 Change-Id: Ia5e1e77dd2e48807e2f485177c2821fba5c1c76b Reviewed-by: Friedemann Kleint --- build_scripts/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_scripts') diff --git a/build_scripts/config.py b/build_scripts/config.py index 25036a65f..edd7fdbf7 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -88,8 +88,6 @@ class Config(object): 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', @@ -135,6 +133,8 @@ class Config(object): setup_kwargs['zip_safe'] = False setup_kwargs['cmdclass'] = cmd_class_dict setup_kwargs['version'] = package_version + setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.8" + if quiet: # Tells distutils / setuptools to be quiet, and only print warnings or errors. -- cgit v1.2.3