Make it clear Python 3 is required

This commit is contained in:
Marcin Kulik
2016-06-12 19:09:41 +02:00
parent da3ff59fc3
commit 2b92cf63c7
2 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
import sys
if sys.version_info[0] < 3:
sys.exit('Python < 3 is unsupported.')
try:
from setuptools import setup
except ImportError:
@@ -35,10 +40,12 @@ setup(
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Shells',
'Topic :: Terminals',
'Topic :: Utilities'