Created
August 12, 2014 10:41
-
-
Save AlexAvlonitis/1ed8a3d4d5acffbf6e5d to your computer and use it in GitHub Desktop.
Single Windows executable from a Python script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from distutils.core import setup | |
import py2exe, sys, os | |
sys.argv.append('py2exe') | |
setup( | |
options = {'py2exe': {'bundle_files': 1, 'compressed': True}}, | |
windows = [{'script': "test.py"}], | |
zipfile = None, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment