How can I build Python CFFI modules during development? -
what best practices building cffi modules during development?
right i'm using makefile:
mylib/_ffi.so: my_lib/build_ffi.py python $< and test can use:
$ make && python test.py but seems suboptimal. there better way of building cffi modules during development?
if project using setuptools, python setup.py develop appears build library in-place:
$ python setup.py develop ... finished processing dependencies my-lib==0.1 $ ls my_lib/ _ffi.so ... but doesn't seem there make clean equivilent (setup.py clean cleans build/ directory), isn't quite ideal.
Comments
Post a Comment