Commit 7c6e94cb authored by Ultima's avatar Ultima
Browse files

Modified the setup.py in order to find the numpy headers.

parent 48d5c64f
...@@ -25,13 +25,17 @@ from distutils.extension import Extension ...@@ -25,13 +25,17 @@ from distutils.extension import Extension
from Cython.Distutils import build_ext from Cython.Distutils import build_ext
import sys import sys
import os import os
import numpy
include_dirs = [numpy.get_include()]
#os.environ["CC"] = "g++-4.8" #os.environ["CC"] = "g++-4.8"
#os.environ["CXX"] = "g++-4.8" #os.environ["CXX"] = "g++-4.8"
ext_modules=[Extension( ext_modules=[Extension(
"line_integrator", "line_integrator",
["operators/line_integrator.pyx"],)]# "vector.pxd"], ["operators/line_integrator.pyx"],
include_dirs=include_dirs)]# "vector.pxd"],
#language='c++')] #language='c++')]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment