used b64 encoded background image and made a working build
This commit is contained in:
parent
f3c704f733
commit
5a69aa3b84
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
idea/
|
||||
*.txt
|
||||
build/
|
||||
|
|
|
|||
4
b64.py
Normal file
4
b64.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import base64
|
||||
|
||||
with open("C:/Users/ScharrenbacJ/workdir/ameland_journal/background.jpg", "rb") as f:
|
||||
print(base64.b64encode(f.read()).decode("ascii"))
|
||||
BIN
dist/journal.exe
vendored
Normal file
BIN
dist/journal.exe
vendored
Normal file
Binary file not shown.
16
journal.py
16
journal.py
File diff suppressed because one or more lines are too long
38
journal.spec
Normal file
38
journal.spec
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['journal.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
name='journal',
|
||||
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,
|
||||
)
|
||||
Loading…
Reference in New Issue
Block a user