1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
"""
File based on a contribution from Josh Immanuel. Use via
python setup-py2exe.py py2exe
which will create a dist folder containing the .exe, the python DLL, and a
few other DLL deemed by py2exe to be critical to the application execution.
The contents of the dist folder should then be packaged using a tool such
as NSIS or Inno Setup. The py2exe page has an example for NSIS.
"""
from distutils.core import setup
import py2exe
setup (
name='TestPubSub',
description="Script to test pubsub for packaging",
version="0.1",
console=[{'script': 'testpubsub.py'}],
options={ 'py2exe': {
'packages': 'encodings, pubsub',
'includes': None}
},
)
|