We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6cae4 commit 3aac426Copy full SHA for 3aac426
setup.py
@@ -9,7 +9,7 @@
9
from distutils.errors import (CCompilerError, DistutilsExecError,
10
DistutilsPlatformError)
11
12
-from setuptools import setup, Extension, Feature
+from setuptools import setup, Extension
13
14
cmdclass = {}
15
PYPY = hasattr(sys, 'pypy_version_info')
@@ -107,15 +107,7 @@ def find_packages(location):
107
def run_setup(with_cext):
108
kwargs = {}
109
if with_cext:
110
- if Feature:
111
- kwargs['features'] = {
112
- 'extension':
113
- Feature("optional C implementation",
114
- standard=True,
115
- ext_modules=ext_module)
116
- }
117
- else:
118
- kwargs['ext_modules'] = ext_module
+ kwargs['ext_modules'] = ext_module
119
120
setup(name='maxminddb',
121
version=VERSION,
0 commit comments