diff --git a/.travis.yml b/.travis.yml index 37079f8..79a8922 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: python python: - 2.6 - 2.7 - - 3.2 - 3.3 - 3.4 - pypy diff --git a/setup.py b/setup.py index 1520ad7..63ef6de 100644 --- a/setup.py +++ b/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', diff --git a/shadowsocks/utils.py b/shadowsocks/utils.py index 88b7f5b..bb14391 100644 --- a/shadowsocks/utils.py +++ b/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():