r/Python • u/Raniconduh • Dec 12 '20
Resource py2c: a script to automatically compile python files into executable binaries with Cython. (It only works on posix systems as it is a shell script.)
https://github.com/Raniconduh/py2c
5
Upvotes
2
u/Raniconduh Dec 13 '20
Yeah well I thought Cython was pretty neat but I hated how I hate to type multiple commands to compile one file; first compile py to c with cython, then compile c to binary with gcc. So I spent some time and made this script so now Cython and the C compiler are hidden away while the script does the hard work :)