fixed build scripts

This commit is contained in:
Arthur Lu 2022-03-28 23:15:13 +00:00
parent 34f0b3f10c
commit a5f9e55cf4
3 changed files with 20 additions and 35 deletions

View File

@ -1,4 +1,4 @@
set pathtospec="../src/superscript.spec" set pathtospec="superscript.spec"
set pathtodist="../dist/" set pathtodist="../dist/"
set pathtowork="temp/" set pathtowork="temp/"

View File

@ -11,40 +11,25 @@ a = Analysis(
hookspath=[], hookspath=[],
hooksconfig={}, hooksconfig={},
runtime_hooks=[], runtime_hooks=[],
excludes=['matplotlib'], excludes=[],
win_no_prefer_redirects=False, win_no_prefer_redirects=False,
win_private_assemblies=False, win_private_assemblies=False,
cipher=block_cipher, cipher=block_cipher,
noarchive=False noarchive=False
) )
pyz = PYZ( pyz = PYZ(a.pure, a.zipped_data,
a.pure, cipher=block_cipher)
a.zipped_data, exe = EXE(pyz,
cipher=block_cipher
)
exe = EXE(
pyz,
a.scripts, a.scripts,
[], a.binaries,
exclude_binaries=True, a.zipfiles,
a.datas,
[('W ignore', None, 'OPTION')],
name='superscript', name='superscript',
debug=False, debug=False,
bootloader_ignore_signals=False, bootloader_ignore_signals=False,
strip=False, strip=False,
upx=True, upx=True,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[], upx_exclude=[],
name='superscript' runtime_tmpdir=None,
) console=True )