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

Merge pull request #74 from timrudge/master

Work around in setup.py for use of numpy during build
parents fa3a0a25 fd131f4a
Branches
No related tags found
No related merge requests found
#!/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():
...@@ -205,6 +214,7 @@ def main(): ...@@ -205,6 +214,7 @@ def main():
], ],
install_requires=[ install_requires=[
"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.
Please register or to comment