diff options
author | Eugene Krokhalev <Eugene.Krokhalev@gmail.com> | 2015-12-17 19:55:05 +0300 |
---|---|---|
committer | Eugene Krokhalev <Eugene.Krokhalev@gmail.com> | 2015-12-17 19:55:05 +0300 |
commit | 18b01010077b034556cdb73b751544a06f48dcdc (patch) | |
tree | 280ed234299587a9680ed714ca47d18bbebea9bf /setup.py | |
parent | 402e3d3498b680cd6522b4c1fa55902d2e5ed57f (diff) | |
download | numpy-18b01010077b034556cdb73b751544a06f48dcdc.tar.gz |
BLD: use setuptools for bdist_egg distributions
Not only bdist_wheel needs setuptools
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -237,9 +237,9 @@ def setup_package(): FULLVERSION, GIT_REVISION = get_version_info() metadata['version'] = FULLVERSION else: - if (len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel' or + if (len(sys.argv) >= 2 and sys.argv[1] in ('bdist_wheel', 'bdist_egg') or sys.version_info[0] < 3 and sys.platform == "win32"): - # bdist_wheel and the MS python2.7 VS sdk needs setuptools + # bdist_wheel, bdist_egg and the MS python2.7 VS sdk needs setuptools # the latter can also be triggered by (see python issue23246) # SET DISTUTILS_USE_SDK=1 # SET MSSdk=1 |