csu-hmc / opty

A library for using direct collocation in the optimization of dynamic systems.
http://opty.readthedocs.io
Other
86 stars 20 forks source link

Ensure ufuncify_matrix gives useful error output if the Cython compilation fails #91

Closed moorepants closed 1 month ago

moorepants commented 3 years ago

On the opyt-feedstock in conda-forge it is hard to debug if Cython fails on this call in ufuncify_matrix:

        subprocess.call(cmd, stderr=subprocess.STDOUT, stdout=subprocess.PIPE)

For some reason it does not output the error messages from the python setup.py build --in-place call if it fails. That would be useful info.

moorepants commented 1 month ago

Fixed by #149.