If the project uses setuptools, it python setup.py developappears to build the library in place:
$ python setup.py develop
...
Finished processing dependencies for my-lib==0.1
$ ls my_lib/
_ffi.so
...
But it seems that there exists make cleanequivilent ( setup.py cleanonly clears the directory build/), so it is not entirely ideal.
source
share