From c7f37581df4ce1eecb715be8ef51b7195d5c2156 Mon Sep 17 00:00:00 2001 From: Mauricio Date: Sat, 1 Aug 2020 22:16:17 -0400 Subject: [PATCH] add AO2XP_console.spec and build.bat --- AO2XP_console.spec | 28 ++++++++++++++++++++++++++++ build.bat | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 AO2XP_console.spec create mode 100644 build.bat diff --git a/AO2XP_console.spec b/AO2XP_console.spec new file mode 100644 index 0000000..f38f982 --- /dev/null +++ b/AO2XP_console.spec @@ -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) \ No newline at end of file diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..4624686 --- /dev/null +++ b/build.bat @@ -0,0 +1,3 @@ +pyinstaller AO2XP.spec +pyinstaller AO2XP_console.spec +copy .\dist\* . \ No newline at end of file