public:linux:cytoncompile
This is an old revision of the document!
Compile Python app with Cython
- Make sure Cyton and GCC are installed on your system. (Use apt-get install)
- Rename the 'main.py' file to 'main.pyx'
- Do cyton main.pyx –embed'
- Do 'gcc -Os -I /usr/include/python3.5m -o main main.c -lpython3.5m -lpthread -lm -lutil -ldl'
- An executable has been compiled and is ready for use. To run type './main'
public/linux/cytoncompile.1591569307.txt.gz · Last modified: (external edit)

