Skip to content

Commit

Permalink
Merge pull request #16 from amoh-godwin/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
amoh-godwin authored Mar 8, 2021
2 parents d68f5c8 + dffccf3 commit 8c36c7a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ 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

# Installer logs
pip-log.txt
Expand Down
41 changes: 41 additions & 0 deletions PeterWebServer.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# -*- mode: python -*-
import os

block_cipher = None


wd = os.path.realpath('.')
icon_path = os.path.join(wd, 'PeterIcon.ico')

a = Analysis(['PeterWebServer.py'],
pathex=[wd],
binaries=[],
datas=[],
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,
[],
exclude_binaries=True,
name='Peterd',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
icon=icon_path,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='PeterWebServer')

0 comments on commit 8c36c7a

Please sign in to comment.