mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
Make it clear Python 3 is required
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
__author__ = 'Marcin Kulik'
|
||||
__version__ = '0.9.8'
|
||||
|
||||
import sys
|
||||
|
||||
if sys.version_info[0] < 3:
|
||||
raise ImportError('Python < 3 is unsupported.')
|
||||
|
||||
11
setup.py
11
setup.py
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user