IT/Python
Python Pyinstaller Control
Bigtrue
2021. 1. 14. 08:49
Python Pyinstaller Control
Option
-w : noconsole
- -F : onefile
- pyinstaller -w -F 파일명.py
etc
- import가 없다고하면 아래 —hidden-import=pkg명 추가
- pyinstaller -w -F --hidden-import=pkg_resources.py2_warn "Deploy_Control[gui].py"
- spec file 안에
import sys
sys.setrecursionlimit(5000)