ufc.py is not installed first time install is run
Issue #20
resolved
ufc.py
is not installed the first time python setup.py install .....
is run.
Comments (5)
-
-
There is a generated
ufc.py
in theufc
subdirectory. Try this:$ rm -rf build/ local/ ufc/ufc.py ufc/ufc_wrap.cpp $ python setup.py install --prefix=$PWD/local ... $ find local/ | grep ufc.py $ python setup.py install --prefix=$PWD/local ... $ find local/ | grep ufc.py local/lib/python2.7/site-packages/ufc/ufc.py local/lib/python2.7/site-packages/ufc/ufc.pyc
-
So how do we make sure this gets generated before distutils copies the files?
-
Not sure. I have tried several different things, but not found a solution yet. Will keep trying.
-
- changed status to resolved
Make sure build_ext produces ufc.py before build_py tries to copy it (fixes issue
#20).→ <<cset ec0a88eb78b7>>
- Log in to comment
Very strange. I did a clean install with Dorsal and then ufc.py did not get installed.
But then I tried to replicate this by first removing everything related to UFC and then reinstalling UFC manually. Then ufc.py did get installed: