Add pyinstaller spec

This commit is contained in:
Rémi BERTHO 2018-09-30 18:47:55 +02:00
parent 33ec93e98e
commit a684483785
Signed by: dalan
GPG key ID: EE3B917931C07B64
2 changed files with 40 additions and 1 deletions

2
.gitignore vendored
View file

@ -30,7 +30,7 @@ wheels/
# Usually these files are written by a python script from a template # 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. # before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest *.manifest
*.spec #*.spec
# Installer logs # Installer logs
pip-log.txt pip-log.txt

39
SimplePanoramaViewer.spec Normal file
View file

@ -0,0 +1,39 @@
# -*- mode: python -*-
block_cipher = None
added_files = [
( 'README.md', '.' ),
( 'LICENSE.md', '.' ),
( 'css', 'css' ),
( 'html', 'html' ),
( 'js', 'js' )
]
a = Analysis(['SimplePanoramaViewer'],
pathex=['./SimplePanoramaViewer'],
binaries=[],
datas=added_files,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='SimplePanoramaViewer',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
runtime_tmpdir=None,
console=False )