aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/config.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-10-27 16:21:18 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-10-27 16:38:07 +0000
commit844f1cc2541fe7213ebf2d72039ef28a04e200b4 (patch)
treeaa13653009c1669952c5f64e5d668cfdc26b8a86 /build_scripts/config.py
parent07b74c8fde23db33d55b17b08d1d81e1f83b3291 (diff)
build_scripts: remove references to python 2
* Removing all the special cases for Python 2.7 * Removing Python >=3 conditions * Keeping Python 3.6+ as the allowed Python Change-Id: Ie48cafe952ae7a11bea997da2a35e7df5fea9a44 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/config.py')
-rw-r--r--build_scripts/config.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py
index 86482a043..a69e8fe81 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -85,10 +85,7 @@ class Config(object):
# interpreter version.
self.python_version_classifiers = [
'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
@@ -135,7 +132,7 @@ 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.10"
+ setup_kwargs['python_requires'] = ">=3.6, <3.10"
if quiet:
# Tells distutils / setuptools to be quiet, and only print warnings or errors.