We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a9879 commit 0b1cb83Copy full SHA for 0b1cb83
1 file changed
setup.py
@@ -3,6 +3,7 @@
3
Build script for zanata-python-client
4
"""
5
from setuptools import setup, find_packages
6
+import sys
7
import os
8
import subprocess
9
@@ -40,6 +41,9 @@ def get_client_version():
40
41
42
return number
43
44
+assert sys.version_info >= (2, 7), (
45
+ "Only Python 2.7 and later is supported by zanata-python-client.")
46
+
47
setup(
48
name="zanata-python-client",
49
version=get_client_version(),
@@ -77,5 +81,6 @@ def get_client_version():
77
81
'License :: OSI Approved :: GNU Lesser General Public License (LGPL)',
78
82
'Operating System :: Unix',
79
83
'Programming Language :: Python',
84
+ 'Programming Language :: Python :: 2.7',
80
85
],
86
)
0 commit comments