Skip to content

Commit 5d49759

Browse files
committed
Update setup.py
1 parent 1c61119 commit 5d49759

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
from distutils.errors import (CCompilerError, DistutilsExecError,
1010
DistutilsPlatformError)
1111

12-
try:
13-
from setuptools import setup, Extension, Feature
14-
except ImportError:
15-
from distutils.core import setup, Extension
16-
Feature = None
12+
from setuptools import setup, Extension, Feature
1713

1814
cmdclass = {}
1915
PYPY = hasattr(sys, 'pypy_version_info')
@@ -138,7 +134,7 @@ def run_setup(with_cext):
138134
test_suite='nose.collector',
139135
license=LICENSE,
140136
cmdclass=cmdclass,
141-
classifiers=(
137+
classifiers=[
142138
'Development Status :: 5 - Production/Stable',
143139
'Environment :: Web Environment',
144140
'Intended Audience :: Developers',
@@ -152,7 +148,7 @@ def run_setup(with_cext):
152148
'Programming Language :: Python',
153149
'Topic :: Internet :: Proxy Servers',
154150
'Topic :: Internet',
155-
),
151+
],
156152
**kwargs
157153
)
158154

0 commit comments

Comments
 (0)