Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- mode: python -*-
- from kivy.tools.packaging.pyinstaller_hooks import get_hooks
- import os
- block_cipher = None
- the_hook = get_hooks()
- print(the_hook['hookspath'])
- print(the_hook['runtime_hooks'])
- a = Analysis(['..\\kivy34\\examples\\demo\\touchtracer\\main.py'],
- pathex=['D:\\DEV\\PYTHON\\kivy\\Kivy-1.9.0-py3.4-win32-x86\\TouchApp'],
- hiddenimports=[],
- hookspath=the_hook['hookspath'],
- runtime_hooks=the_hook['runtime_hooks'],
- excludes=None,
- cipher=block_cipher,
- )
- pyz = PYZ(a.pure,
- cipher=block_cipher)
- exe = EXE(pyz,
- a.scripts,
- exclude_binaries=True,
- name='touchtracer.exe',
- debug=False,
- strip=None,
- upx=True,
- console=True )
- coll = COLLECT(exe, Tree('../kivy34/examples/demo/touchtracer/'),
- Tree([f for f in os.environ.get('KIVY_SDL2_PATH', '').split(';') if 'bin' in f][0]),
- a.binaries,
- a.zipfiles,
- a.datas,
- strip=None,
- upx=True,
- name='touchtracer')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement