Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 669 Bytes

File metadata and controls

26 lines (19 loc) · 669 Bytes

py_compiler

Compile Python source code into a dynamic library.

Installation

Place the compiler.py file in your project root path.

# Install gcc and python3
pip install Cython

Getting Started

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

Deployment

  • Only supports Linux,Win32 and MacOS platforms.
  • Requires Python version v3.6 or higher.