繁体   English   中英

将定制的 Pyinstaller .spec 文件与 PyArmor 一起使用

[英]Using Customized Pyinstaller .spec file with PyArmor

如果我的 Python 2 脚本已使用 PyInstaller 4.3 使用自定义的.spec<\/code>文件和命令打包

pyinstaller foo.spec

如果您的 .spec 已配置为 --onefile,则无需在命令中再次指定它。 做就是了:

pyarmor pack -s foo.spec foo.py

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM