Skip to content

Instantly share code, notes, and snippets.

@gileno
Created March 28, 2012 13:46
Show Gist options
  • Save gileno/2226297 to your computer and use it in GitHub Desktop.
Save gileno/2226297 to your computer and use it in GitHub Desktop.
Exemplo de setup.py para gerar .exe
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