public:linux:cytoncompile
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.txt · Last modified: by 127.0.0.1

