Advertisement
Ruddog

setup.py Version will not launch Black dos window.

Apr 29th, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. from distutils.core import setup
  2. import py2exe, sys, os
  3.  
  4. sys.argv.append('py2exe')
  5.  
  6. setup(
  7.     options = {'py2exe': {'bundle_files': 2, 'compressed': True}}, # Change from 1 to 2 ->here {'bundle_files': 1, 'compressed': True}}
  8.     windows = [{'script': "nameOfFile2bConverted.py"}],# And of course the filename to be converted.
  9.     zipfile = None,
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement