Created
August 8, 2017 17:11
-
-
Save tuxmartin/e8994f79a659c05a5090395bea021112 to your computer and use it in GitHub Desktop.
py2exe windows
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
C:\Tutorial>python setup.py py2exe |
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') | |
distribution = setup( | |
name="getString", | |
description="abc", | |
version="0.0.1", | |
author="tuxmartin", | |
author_email="mail@exmaple.net", | |
options={'py2exe': | |
{'bundle_files': 1, 'compressed': True, 'optimize': 2}}, | |
console=[{'script': "getString.py"}], zipfile=None) | |
# http://www.py2exe.org/index.cgi/ListOfOptions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment