Skip to content

Instantly share code, notes, and snippets.

@Torxed
Created November 18, 2015 16:15
Show Gist options
  • Save Torxed/da1a0da061fc7e94d1c0 to your computer and use it in GitHub Desktop.
Save Torxed/da1a0da061fc7e94d1c0 to your computer and use it in GitHub Desktop.
Used to "compile" C:\Users\anthvo\Desktop\filetegrity.py via pyinstaller.exe --onefile filetegrity.py
# -*- mode: python -*-
block_cipher = None
# > pyinstaller.exe --onefile filetegrity.py
a = Analysis(['filetegrity.py'],
pathex=['C:\\Users\\anthvo\\Desktop'],
binaries=None,
datas=None,
hiddenimports=[],
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='filetegrity',
debug=False,
strip=False,
upx=True,
console=True )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment