seems that dependency requires 3.3+
This commit is contained in:
parent
0719e80fbd
commit
aff411a456
3 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,6 @@ language: python
|
|||
python:
|
||||
- 2.6
|
||||
- 2.7
|
||||
- 3.2
|
||||
- 3.3
|
||||
- 3.4
|
||||
- pypy
|
||||
|
|
1
setup.py
1
setup.py
|
@ -28,7 +28,6 @@ setup(
|
|||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.2',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
|
|
|
@ -39,6 +39,12 @@ def check_python():
|
|||
if info[0] == 2 and not info[1] >= 6:
|
||||
print('Python 2.6+ required')
|
||||
sys.exit(1)
|
||||
if info[0] == 3 and not info[1] >= 3:
|
||||
print('Python 3.3+ required')
|
||||
sys.exit(1)
|
||||
else:
|
||||
print('Python version not supported')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def print_shadowsocks():
|
||||
|
|
Loading…
Reference in a new issue