dputhier / pygtftk

A python package and a set of shell commands to handle GTF files
GNU General Public License v3.0
45 stars 6 forks source link

peak_anno error upon installation #42

Closed dputhier closed 5 years ago

dputhier commented 5 years ago

Got an error during installation of pygtftk (related to cythonization of create_shuffle)

  pygtftk/stats/intersect/create_shuffles.c:626:10: fatal error: 'numpy/arrayobject.h' file not found
  #include "numpy/arrayobject.h"
           ^
  1 error generated.
  error: command 'clang' failed with exit status 1
dputhier commented 5 years ago

Under OSX. Related to this I guess.

dputhier commented 5 years ago

Fixed in dbffc532d8c27d623c9610d203b9650032038ec3 by using include_dirs in setup call.

setup(name="pygtftk",
      include_dirs=[np.get_include()],