Skip to content

Instantly share code, notes, and snippets.

@kriscarilloxyz
Created November 18, 2018 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kriscarilloxyz/2c86abbca87a26b9b0c09ca375c53f02 to your computer and use it in GitHub Desktop.
Save kriscarilloxyz/2c86abbca87a26b9b0c09ca375c53f02 to your computer and use it in GitHub Desktop.
Include pandas in pyinstaller
# -*- mode: python -*-
block_cipher = None
a = Analysis(['sample.py'],
pathex=['C:\\Users\\bacon\\menudo\\clients\\kenan-erol\\kenan-erol-tasks'],
binaries=[],
datas=[],
hiddenimports = ['pandas._libs.tslibs.np_datetime',
'pandas._libs.tslibs.nattype',
'pandas._libs.skiplist'],
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,
debug=False,
strip=False,
upx=True,
runtime_tmpdir=None,
console=True,
name="ketasksv0.1.1-alpha")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment