cython
安裝
pip install cython進行封裝
from distutils.core import setup
from Cython.Build import cythonize
py_list = [
"./app.py",
"./db.py",
]
setup(
name='Anything you want',
ext_modules=cythonize(
py_list,
language_level=3,
build_dir="build", # 存放.c
compiler_directives={'always_allow_keywords': True}
),
)其他用法
issue
cannot run rc.exe
takes no keyword arguments
Last updated