Compile Python source code into a dynamic library.
Place the compiler.py file in your project root path.
# Install gcc and python3
pip install Cython
Configure the "EXCLUDE" variables in compiler.py
.
Do not compile the entry file, you must add it to "EXCLUDE"
All __init__.py
files will be ignored because Cython 2.9 has some problems under the Win32 platform.
# The default compiling directory is the base directory of "compiler.py".
python compiler.py
- Only supports Linux,Win32 and MacOS platforms.
- Requires Python version v3.6 or higher.