Created
March 28, 2012 13:46
-
-
Save gileno/2226297 to your computer and use it in GitHub Desktop.
Exemplo de setup.py para gerar .exe
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 | |
setup( | |
windows=[{ | |
'script': 'main.py', | |
'icon_resources': [(1, "icon.ico")], | |
}], | |
options={ | |
'py2exe': { | |
'dist_dir': 'installer/files', | |
} | |
}, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment