diff options
author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-11-18 11:41:36 +0100 |
---|---|---|
committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-11-18 15:57:33 +0100 |
commit | b1fbe94e0524e519196082b0f03eb559c54d733d (patch) | |
tree | d2d2c818b66f8c3f99d15c97e8bb0d05cff58a35 | |
parent | 5d52839cf1c17e218780a5e011bf3c5eb3d25ab6 (diff) |
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 <Friedemann.Kleint@qt.io>
-rw-r--r-- | build_scripts/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
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. |