Skip to content

Commit

Permalink
Merge remote-tracking branch 'brady/feat/pyinstaller'
Browse files Browse the repository at this point in the history
  • Loading branch information
malloch committed Sep 7, 2022
2 parents 841365a + 0f2a6e4 commit 2d59212
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions webmapper.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None

added_files=[
('html', 'html'),
('css', 'css'),
('js', 'js'),
('images', 'images'),
('includes', 'includes')
]

a = Analysis(
['webmapper.py'],
pathex=[],
binaries=[],
datas=added_files,
hiddenimports=[],
hookspath=[],
hooksconfig={},
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,
[],
exclude_binaries=True,
name='webmapper',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='webmapper',
)

0 comments on commit 2d59212

Please sign in to comment.