Commit ce338122 authored by Mat's avatar Mat
Browse files

Add path to numpy headers in setup.py.

This is required when using virtualenv with python3. Patch contributed
by Nathan Hurst <njh@njhurst.com>
parent 642c3d26
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
from distutils.core import setup, Extension
from glob import glob
from os import path
import numpy

here = path.abspath(path.dirname(__file__))

@@ -57,5 +58,6 @@ setup(name = 'SharedArray',
      ext_modules  = [
          Extension('SharedArray',
                    glob(path.join(here, 'src', '*.c')),
                    libraries = [ 'rt' ])
                    libraries = [ 'rt' ],
                    include_dirs=[numpy.get_include()])
      ])