Test pyinstaller spec file

This commit is contained in:
Piotr Dobrowolski 2018-08-28 19:24:54 +02:00
parent d6335e69bb
commit c734a7f5e7
3 changed files with 37 additions and 0 deletions

3
.gitignore vendored
View File

@ -2,6 +2,9 @@
*.py[oc] *.py[oc]
*.swp *.swp
build/
dist/
# Ignore compiled Qt assets # Ignore compiled Qt assets
*.qm *.qm
gui/*.py gui/*.py

29
luftdaten-tool.spec Normal file
View File

@ -0,0 +1,29 @@
# -*- mode: python -*-
block_cipher = None
a = Analysis(['luftdaten-tool.py'],
pathex=['.'],
binaries=[],
datas=[],
hiddenimports=['PyQt5.sip'],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='luftdaten-tool',
debug=False,
strip=False,
upx=True,
runtime_tmpdir=None,
console=True )

View File

@ -1,9 +1,14 @@
altgraph==0.16.1
certifi==2018.8.24 certifi==2018.8.24
chardet==3.0.4 chardet==3.0.4
ecdsa==0.13 ecdsa==0.13
esptool==2.5.0 esptool==2.5.0
future==0.16.0
idna==2.7 idna==2.7
macholib==1.11
pefile==2018.8.8
pyaes==1.6.1 pyaes==1.6.1
PyInstaller==3.3.1
PyQt5==5.11.2 PyQt5==5.11.2
PyQt5-sip==4.19.12 PyQt5-sip==4.19.12
pyserial==3.4 pyserial==3.4