Guest User

Untitled

a guest
Apr 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. # -*- mode: python -*-
  2.  
  3. block_cipher = None
  4.  
  5.  
  6. a = Analysis(['text_test.py'],
  7. pathex=['S:\\text_test'],
  8. binaries=[],
  9. datas=[],
  10. hiddenimports=[],
  11. hookspath=[],
  12. runtime_hooks=[],
  13. excludes=[],
  14. win_no_prefer_redirects=False,
  15. win_private_assemblies=False,
  16. cipher=block_cipher)
  17.  
  18. a.datas += Tree('data', prefix='data')
  19.  
  20. pyz = PYZ(a.pure, a.zipped_data,
  21. cipher=block_cipher)
  22.  
  23. options = [ ('v', None, 'OPTION')]
  24. exe = EXE(pyz,
  25. a.scripts,
  26. options,
  27. exclude_binaries=True,
  28. name='text_test',
  29. debug=True,
  30. strip=False,
  31. upx=True,
  32. console=True )
  33. coll = COLLECT(exe,
  34. a.binaries,
  35. a.zipfiles,
  36. a.datas,
  37. strip=False,
  38. upx=True,
  39. name='text_test')
Add Comment
Please, Sign In to add comment