pocket-friends/compile.py

15 lines
452 B
Python
Raw Permalink Normal View History

import os
import PyInstaller.__main__
import pocket_friends
script_dir = os.path.dirname(os.path.abspath(__file__))
PyInstaller.__main__.run([
'{0}/pocket_friends/__main__.py'.format(script_dir),
'--clean',
'--noconsole',
'--onefile',
2021-05-30 00:21:39 -04:00
'--name=pocket_friends_{0}'.format(pocket_friends.__version__),
'--collect-all=pocket_friends',
'--icon={0}/pocket_friends/game_files/resources/images/icon/icon.ico'.format(script_dir)
])