[specs] onefile for win
This commit is contained in:
parent
032efa1f55
commit
2c8a72a416
2
.github/workflows/python-app_macos.yml
vendored
2
.github/workflows/python-app_macos.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: create package
|
- name: create package
|
||||||
run: |
|
run: |
|
||||||
pyrcc5 resources.qrc -o resources.py
|
pyrcc5 resources.qrc -o resources.py
|
||||||
pyinstaller --onefile --windowed --osx-bundle-identifier="de.uni-tuebingen.neuroetho.blipblop" blipblop_darwin.spec
|
pyinstaller --osx-bundle-identifier="de.uni-tuebingen.neuroetho.blipblop" blipblop_darwin.spec
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.2
|
uses: actions/upload-artifact@v2.2.2
|
||||||
|
2
.github/workflows/python-app_win.yml
vendored
2
.github/workflows/python-app_win.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
- name: create package
|
- name: create package
|
||||||
run: |
|
run: |
|
||||||
pyrcc5 resources.qrc -o resources.py
|
pyrcc5 resources.qrc -o resources.py
|
||||||
pyinstaller --onefile --windowed --name="BlipBlop" blipblop_win.spec
|
pyinstaller blipblop_win.spec
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.2
|
uses: actions/upload-artifact@v2.2.2
|
||||||
|
@ -16,6 +16,7 @@ a = Analysis(['blipblop_main.py'],
|
|||||||
('sounds/bell.wav', "sounds"),
|
('sounds/bell.wav', "sounds"),
|
||||||
('sounds/complete.wav', "sounds"),
|
('sounds/complete.wav', "sounds"),
|
||||||
('sounds/message.wav', "sounds"),
|
('sounds/message.wav', "sounds"),
|
||||||
|
('icons/blipblop_logo.icns', "."),
|
||||||
],
|
],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
@ -25,6 +26,7 @@ a = Analysis(['blipblop_main.py'],
|
|||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
noarchive=False)
|
noarchive=False)
|
||||||
|
|
||||||
pyz = PYZ(a.pure, a.zipped_data,
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
|
|
||||||
@ -35,13 +37,12 @@ exe = EXE(pyz,
|
|||||||
a.datas,
|
a.datas,
|
||||||
[],
|
[],
|
||||||
name='BlipBlop',
|
name='BlipBlop',
|
||||||
debug=False,
|
debug=True,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
upx_exclude=[],
|
||||||
runtime_tmpdir=None,
|
runtime_tmpdir=None,
|
||||||
console=False,
|
console=True,
|
||||||
icon='icons/blipblop_logo.icns'
|
icon='icons/blipblop_logo.icns'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -31,22 +31,19 @@ pyz = PYZ(a.pure, a.zipped_data,
|
|||||||
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
[],
|
[],
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='BlipBlop',
|
name='BlipBlop',
|
||||||
debug=False,
|
debug=True,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
console=False,
|
console=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
icon='icons/blipblop_logo.ico'
|
icon='icons/blipblop_logo.ico'
|
||||||
)
|
)
|
||||||
|
|
||||||
coll = COLLECT(exe,
|
|
||||||
a.binaries,
|
|
||||||
a.zipfiles,
|
|
||||||
a.datas,
|
|
||||||
strip=False,
|
|
||||||
upx=True,
|
|
||||||
upx_exclude=[],
|
|
||||||
name='BlipBlop')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user