wrap only run function, fix cython>0.17 compatibility, simplify setup