Skip to content

Commit b4512b1

Browse files
do not use six in setup.py
1 parent 4917f72 commit b4512b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Socket.IO server.
66
"""
77
import re
8+
import sys
89
from setuptools import setup
9-
import six
1010

1111
with open('socketio/__init__.py', 'r') as f:
1212
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
@@ -43,7 +43,7 @@
4343
tests_require=[
4444
'mock',
4545
],
46-
test_suite='tests' if six.PY3 else 'tests.common',
46+
test_suite='tests' if sys.version_info >= (3, 0) else 'tests.common',
4747
classifiers=[
4848
'Environment :: Web Environment',
4949
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)