[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781381: Does not build



Hi Andreas, Fred,

I'll address your issues in a later commit and report back.

@Fred
Indeed, I did not test the reproducibility of the build, and wrongfully assumed that switching
to pybuild whilst keeping the former d/rules targets would be enough.

@Andreas
You need numpy, because setup.py makes an unconditional import of it regardless of the
target. This is a problem shared by a number of other scientific packages and it will take
time before our upstream adjust to proper practices (like do I need numpy when I invoke
python setup.py clean). These are nicely summarized at the end of the following blog post [1].
Best I can do is file a bug upstream and suggest pointers.

[1] https://caremad.io/2014/11/distributing-a-cffi-project/

Thanks for your help guys, we will have a working package soon.

Ghis

2015-03-29 9:12 GMT+01:00 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>:
Hello Andreas,

It seems that you do not have numpy installed on your machine.

can you try after

apt-get install python-numpy python3-numpy


cheers

fred


Reply to: