Skip to content

Commit

Permalink
MAINT: make python setup.py bdist_wheel work.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Dec 8, 2013
1 parent d84e489 commit 1c0856b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ def setup_package():
FULLVERSION, GIT_REVISION = get_version_info()
metadata['version'] = FULLVERSION
else:
if len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel':
# bdist_wheel needs setuptools
import setuptools

from numpy.distutils.core import setup

cwd = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit 1c0856b

Please sign in to comment.