Thanks to visit codestin.com Credit goes to github.com
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 b512e49 commit 373c4d7Copy full SHA for 373c4d7
setup.py
@@ -258,6 +258,7 @@
258
259
# List third-party Python packages that we require
260
install_requires=install_requires,
261
+ setup_requires=setup_requires,
262
263
# matplotlib has C/C++ extensions, so it's not zip safe.
264
# Telling setuptools this prevents it from doing an automatic
setupext.py
@@ -711,7 +711,11 @@ class Numpy(SetupPackage):
711
712
@staticmethod
713
def include_dirs_hook():
714
+ import __builtin__
715
+ if hasattr(__builtin__, '__NUMPY_SETUP__'):
716
+ del __builtin__.__NUMPY_SETUP__
717
import numpy
718
+ reload(numpy)
719
720
ext = Extension('test', [])
721
ext.include_dirs.append(numpy.get_include())
0 commit comments