Skip to content

Instantly share code, notes, and snippets.

@vannell
Created December 13, 2013 08:51
Show Gist options
  • Save vannell/7941526 to your computer and use it in GitHub Desktop.
Save vannell/7941526 to your computer and use it in GitHub Desktop.
py2exe bundling
#!/usr/bin/env python
from distutils.core import setup
import py2exe
setup(
options = {'py2exe': {'bundle_files': 1, 'compressed': True, 'dll_excludes': ['w9xpopen.exe']}},
console=['foobar.py'],
zipfile = None
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment