Skip to content

Commit 32acdb6

Browse files
committed
Update setup.py to make 3.5 happy
1 parent 00c9177 commit 32acdb6

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,7 @@
88
# This is necessary for Python 2.6 on Travis for some reason.
99
import multiprocessing
1010

11-
try:
12-
from setuptools import setup
13-
except ImportError:
14-
from distutils.core import setup
15-
16-
if sys.argv[-1] == 'publish':
17-
os.system('python setup.py sdist upload')
18-
sys.exit()
11+
from setuptools import setup
1912

2013
_version_re = re.compile(r'__version__\s+=\s+(.*)')
2114

@@ -45,7 +38,7 @@
4538
tests_require=['requests_mock'],
4639
test_suite="tests",
4740
license='Apache License 2.0 ',
48-
classifiers=('Development Status :: 5 - Production/Stable',
41+
classifiers=['Development Status :: 5 - Production/Stable',
4942
'Environment :: Web Environment',
5043
'Intended Audience :: Developers',
5144
'License :: OSI Approved :: Apache Software License',
@@ -58,4 +51,4 @@
5851
'Programming Language :: Python',
5952
'Topic :: Internet :: Proxy Servers',
6053
'Topic :: Internet :: WWW/HTTP',
61-
'Topic :: Internet', ), )
54+
'Topic :: Internet', ], )

0 commit comments

Comments
 (0)