aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/config.py')
-rw-r--r--build_scripts/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py
index 022d7459f..b1b32068d 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -37,7 +37,7 @@
##
#############################################################################
-import sys, os
+import os
import distutils.log as log
@@ -88,12 +88,11 @@ 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',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
]
self.setup_script_dir = None
@@ -136,6 +135,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"
if quiet:
# Tells distutils / setuptools to be quiet, and only print warnings or errors.