Files
ThousandHands/pyinstaller.py
2024-11-12 20:30:19 +08:00

14 lines
336 B
Python

import PyInstaller.__main__
if __name__ == "__main__":
PyInstaller.__main__.run([
'--add-data',
'web/dist/:./web/dist',
'--hidden-import=gunicorn.glogging',
'--hidden-import=gunicorn.workers.sync',
'-y',
'--clean',
'--name',
'thousandhands',
'start.py'
])