Removed pyinstaller build. Create bootstrap and build scripts for building with nuitka

This commit is contained in:
Kirill Belousov 2023-02-23 13:18:05 +03:00
parent 2d6625c52a
commit 7202e37bcb
Signed by untrusted user who does not match committer: cyrmax
GPG Key ID: AEFB45ACA247412F
4 changed files with 3 additions and 45 deletions

2
bootstrap.cmd Normal file
View File

@ -0,0 +1,2 @@
python -m pip install -r requirements.txt
python -m pip install -r build-requirements-nuitka.txt

View File

@ -1 +0,0 @@
pyinstaller==5.7.0

1
build.cmd Normal file
View File

@ -0,0 +1 @@
python -m nuitka --standalone --onefile --prefer-source-code --assume-yes-for-downloads --remove-output --lto=yes --windows-uac-admin --company-name=Cyrmax --product-name=Sku_Updater --file-version=32.15 --product-version=32.15 --file-description="A console program to update your installation of Sku for WoW Classic" --copyright="Made by Cyrmax in 2022. MIT license" sku-updater.py

View File

@ -1,44 +0,0 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['sku-updater.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='sku-updater',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)