add AO2XP_console.spec and build.bat

This commit is contained in:
Mauricio 2020-08-01 22:16:17 -04:00
parent 31f7a2ee79
commit c7f37581df
2 changed files with 31 additions and 0 deletions

28
AO2XP_console.spec Normal file
View File

@ -0,0 +1,28 @@
# -*- mode: python -*-
block_cipher = None
a = Analysis(['AO2XP.py'],
pathex=['.'],
binaries=[("bass.dll", ".")],
datas=None,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='AO2XP_console',
debug=False,
strip=False,
upx=True,
console=True)

3
build.bat Normal file
View File

@ -0,0 +1,3 @@
pyinstaller AO2XP.spec
pyinstaller AO2XP_console.spec
copy .\dist\* .