Skip to content
Snippets Groups Projects
Commit 323ed9dd authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge pull request #75 from timrudge/master

Revise fix for numpy issue during installation 
parents 9b407a5b c3d458f3
No related branches found
No related tags found
Loading
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: latin-1 -*- # -*- coding: latin-1 -*-
from setuptools.command.build_ext import build_ext as _build_ext
class build_ext(_build_ext):
def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())
def get_config_schema(): def get_config_schema():
...@@ -214,7 +205,7 @@ def main(): ...@@ -214,7 +205,7 @@ def main():
], ],
install_requires=[ install_requires=[
"numpy", "numpy",
"pytools>=2014.2", "pytools>=2014.2",
"pytest>=2", "pytest>=2",
"decorator>=3.2.0", "decorator>=3.2.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment