It's better to reuse the ecos package instead of rebuilding it from scratch. It seems like you only need to optionally remove sources from setup.py and add include/lib parths. Thank you, Yuri