We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61c699e commit 99cbdbaCopy full SHA for 99cbdba
setup.py
@@ -228,12 +228,10 @@ def setup_package():
228
229
FULLVERSION, GIT_REVISION = get_version_info()
230
metadata['version'] = FULLVERSION
231
- elif len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel':
232
- # bdist_wheel needs setuptools
233
- import setuptools
234
- from numpy.distutils.core import setup
235
- metadata['configuration'] = configuration
236
else:
+ if len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel':
+ # bdist_wheel needs setuptools
+ import setuptools
237
from numpy.distutils.core import setup
238
cwd = os.path.abspath(os.path.dirname(__file__))
239
if not os.path.exists(os.path.join(cwd, 'PKG-INFO')):
0 commit comments