Thursday, March 13, 2008

how I use py2exe

Just documenting this for myself to use later.

I have activestate activepython 2.5.1 installed. Copy the setup.py to the folder with the .py file. The contents of the setup.py are simply:

1 from distutils.core import setup
2 import py2exe
3
4 setup(console=['yourfile.py'])

Run "python setup.py py2exe". Two folders will be created:
1. Build
2. dist

dist should have your .exe and all the required dlls.

Update: Forgot to mention that this is after you download and install py2exe.

Mozilla and hypocrisy

Right, but what about the experiences that Mozilla chooses to default for users like switching to  Yahoo and making that the default upon ...