Skip to content

Remalloc/py_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Compile python source code to dynamic library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages