FFC installer does not play well with editable/develop install
It seems that with pip install --no-deps --upgrade --prefix=<prefix> -e .
generated py files are not generated. At the same time generated cmake files are installed into <src>/cmake/templates
and point to the location in <prefix>/include
. But there are no header files installed.
If editable install ever works for anyone, it just unsafe coincidence due to remnants of previous non-editable install.
Comments (4)
-
reporter -
Maybe we should have a standalone command for installing headers which also updates the ufc_config.py. When the ufc_config.py file is modified by running this script, it should become available on next import with an editable install. We can still call the header install script from setup.py, or maybe better to intercept "python setup.py install_headers" instead of a separate script.
-
- changed status to resolved
Fixed in 3f863b60.
-
reporter Good job
, @johannes_ring.
- Log in to comment
Issue
#118was marked as a duplicate of this issue.