RE:h5py/2.2.1-2~exp1
Hello Gishlain
In your rules file we can see this.
>ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
> export CPPFLAGS=-I/usr/include/hdf5/serial
> export LDFLAGS=-Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
>endif
It seems to me fragile.
what about relying on pkgconfig to provide the right flags
export CFLAGS=$(shell pkg-config --cflags hdf5)
export LDFLAGS=$(shell pkg-config --libs hdf5)
for the clean par , I propose this sort of target.
# remove the .c cython generated files
find h5py -iname *.pyx | sed -e 's,\.pyx,\.c,g' | xargs -r rm -f
cheers
Frederic
Reply to: