]> sigrok.org Git - libsigrok.git/commitdiff
fix numpy include path
authorJiří Pinkava <redacted>
Sat, 22 Nov 2014 03:52:58 +0000 (04:52 +0100)
committerUwe Hermann <redacted>
Mon, 29 Dec 2014 22:34:42 +0000 (23:34 +0100)
bindings/python/setup.py

index 7a328fe1497124b0f61fac823c4faaedada9e66e..9b5e998417c7222d19542494ef45025477695871 100644 (file)
@@ -20,6 +20,7 @@
 from setuptools import setup, find_packages, Extension
 from distutils.command.build_py import build_py as _build_py
 from distutils.command.build_ext import build_ext as _build_ext
+import numpy as np
 import subprocess
 import os
 
@@ -36,6 +37,7 @@ includes = ['../../include', '../cxx/include']
 includes += [os.path.join(srcdir, path) for path in includes]
 includes += ['../..', '../../include/libsigrok', '../cxx/include/libsigrok']
 includes += [i[2:] for i in sr_includes]
+includes += [np.get_include(), ]
 libdirs = ['../../.libs', '../cxx/.libs'] + [l[2:] for l in sr_lib_dirs]
 libs = [l[2:] for l in sr_libs] + ['sigrokxx']