[win packaging] normal folder packaging works
This commit is contained in:
parent
9a81ddfbcf
commit
bfab3045ee
4
.github/workflows/python-app_win.yml
vendored
4
.github/workflows/python-app_win.yml
vendored
@ -35,13 +35,13 @@ jobs:
|
|||||||
- name: create package
|
- name: create package
|
||||||
run: |
|
run: |
|
||||||
pyrcc5 resources.qrc -o resources.py
|
pyrcc5 resources.qrc -o resources.py
|
||||||
pyinstaller blipblop_win.spec
|
pyinstaller blipblop_win.spec -y
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.2
|
uses: actions/upload-artifact@v2.2.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: blipblop-binary
|
name: blipblop-windows
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: |
|
path: |
|
||||||
dist
|
dist
|
||||||
|
@ -16,7 +16,6 @@ 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.ico', '.')
|
|
||||||
],
|
],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
@ -31,9 +30,6 @@ 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',
|
||||||
@ -42,8 +38,14 @@ exe = EXE(pyz,
|
|||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
console=True,
|
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