Skip to content

Commit

Permalink
Update setup.py to make 3.5 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Sep 15, 2016
1 parent 00c9177 commit 32acdb6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@
# This is necessary for Python 2.6 on Travis for some reason.
import multiprocessing

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
from setuptools import setup

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

Expand Down Expand Up @@ -45,7 +38,7 @@
tests_require=['requests_mock'],
test_suite="tests",
license='Apache License 2.0 ',
classifiers=('Development Status :: 5 - Production/Stable',
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
Expand All @@ -58,4 +51,4 @@
'Programming Language :: Python',
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet', ), )
'Topic :: Internet', ], )

0 comments on commit 32acdb6

Please sign in to comment.