added spec file
This commit is contained in:
parent
21b4c6bae4
commit
5911700bc4
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,7 +31,7 @@ MANIFEST
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
# *.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
@ -55,7 +55,9 @@ deactivate
|
||||
## First time run of pyinstaller to generate pismotek-remote.spec
|
||||
Windows uses `^` to continues a command on the next line.
|
||||
```
|
||||
pyinstaller --onefile --windowed --icon remotedesktop.ico ^
|
||||
--add-data "remotedesktop.ico:."
|
||||
pyi-makespec --onefile --windowed --icon remotedesktop.ico ^
|
||||
--add-data "remotedesktop.ico:." ^
|
||||
--add-data "logo.png:." ^
|
||||
--add-data "tvnserver.exe:." ^
|
||||
pismotek-remote.py
|
||||
```
|
||||
|
39
pismotek-remote.spec
Normal file
39
pismotek-remote.spec
Normal file
@ -0,0 +1,39 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['pismotek-remote.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[('remotedesktop.ico', '.'), ('logo.png', '.'), ('tvnserver.exe', '.')],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
name='pismotek-remote',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
icon=['remotedesktop.ico'],
|
||||
)
|
Loading…
Reference in New Issue
Block a user