(py2exe and InnoSetup)
Brian Dorsey - brian@dorseys.org
Open space: Sunday 11:50am
my biases
Use Python
(mostly on Windows)
utilities & glue applications
command line or windows services
I'm really lazy.
based on my experience - works for me
This is for applications, not libraries.
Examples based on command line apps.
Same steps for services and GUI apps.
short talk, one guy's experience
Open space: Sun 11:50am @ Lambert
What is it?
Most Windows machines don't have Python by default.
Save work for your users.
Each app has it's own version of Python...
and libraries!
Feels natural to Windows people.
(demo)
(demo)
it makes installers
(demo)
eggs
easy_install -Z
distutils.cfg
always-unzip = True
finding the application directory
(code)
Windows services work fine for a while then freeze.
stdout/stderr have a fixed buffer, once full, your application freezes.
redirect stdout/stderr
sys.stdout = open('nul', 'w')
Missing modules?
try to run the application
add: import module
Check the wiki: http://py2exe.org/
Strange failures when starting the app?
Delete the build and dist folders.
Open space: Sun 11:50am @ Lambert