import sys
sys.setrecursionlimit(50000)
pyinstaller -F yolov5_test0728.py
pyinstaller -F yolov5_test0728.spec
pkg_resources.py2_warn
import distutils.core
from Cython.Build import cythonize
from Cython.Distutils import build_ext
a = cythonize("test.py")[0] #需要编译的.py文件
distutils.core.setup(
name = 'te', #包的名字
version = "1.0",
ext_modules=[a],
author = "zyc",
)
python文件打包方式(加密)
最新推荐文章于 2024-07-09 11:52:56 发布