seems that dependency requires 3.3+

This commit is contained in:
clowwindy
2014-10-31 22:16:44 +08:00
parent 0719e80fbd
commit aff411a456
3 changed files with 6 additions and 2 deletions

View File

@ -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():