It supports compiling individual modules or an entire project. The system is built to use distutils and cython packages, and it includes the ability to create a binary executable from the compiled files using the archive self extracting binary tool makeself.
This build system requires distutils, cython, pathlib, and json libraries. Please make sure you have them installed.
- Clone the repository.
- Add your application folder cython_compile/applications
- cd cython_compile
- Run either run.sh (python <= 3.10) or run_py311.sh (python 3.11)
- Choose the project ID number from the list of available projects.
- The system will compile the modules and produce the C extensions.
- Optionally, build an executable binary file from the compiled C extensions using makeself.
The system will ask if you want to compile the app with Cython. If you choose "y", it will compile the app and produce the C extensions in the cython_output folder. If you choose "n", it will use the existing C extensions in the cython_output folder.
The system will ask if you want to make an executable binary from the compiled files. If you choose "y", it will create an executable binary file in the build folder. If you choose "n", it will not create an executable binary. This binary is a self extracting archive made with makeself.
The executable will be located under ./bin