📜  pyinstaller windows - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:20.093000             🧑  作者: Mango

代码示例6
#Run pyinstaller and stop it to generate the spec file :

>    pyinstaller filename.py

#A file with .spec as extension should be generated
#Now add the following lines to the beginning of the spec file :

>  import sys
>  sys.setrecursionlimit(5000)

#Now run the spec file using :

>    pyinstaller filename.spec