¡@

Home 

python Programming Glossary: f.pyx

Simple wrapping of C code with cython

http://stackoverflow.com/questions/3046305/simple-wrapping-of-c-code-with-cython

NumPy . 2 steps python f setup.py build_ext inplace turns f.pyx and fc.cpp f.so a dynamic library python test f.py import f.. uses distutils to run cython compile and link cython f.pyx f.cpp compile f.cpp and fc.cpp link f.o fc.o f.so a dynamic.. on distutils . Like make setup.py will rerun cython f.pyx and g c ... f.cpp if f.pyx is newer than f.cpp . To cleanup..