首页 > 技术文章 > encrypt myself code

otfsenter 2018-07-29 22:48 原文

1- download VCForPython27.msi

2- create the setup.py file

from distutils.core import setup
from Cython.Build import cythonize

setup(
    name='encrypt',
    ext_modules=cythonize("use_config.py"), requires=['Cython']
)

3- create pyd file

python setup.py build_ext --inplace

推荐阅读