Skip to content

Commit

Permalink
seems that dependency requires 3.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Oct 31, 2014
1 parent 0719e80 commit aff411a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
'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',
Expand Down
6 changes: 6 additions & 0 deletions shadowsocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit aff411a

Please sign in to comment.