Browse Source

seems that dependency requires 3.3+

auth
clowwindy 10 years ago
parent
commit
aff411a456
  1. 1
      .travis.yml
  2. 1
      setup.py
  3. 6
      shadowsocks/utils.py

1
.travis.yml

@ -2,7 +2,6 @@ language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy

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',

6
shadowsocks/utils.py

@ -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…
Cancel
Save