[PEAK] Packaging peak apps
Phillip J. Eby
pje at telecommunity.com
Wed Sep 29 11:00:35 EDT 2004
At 02:39 PM 9/29/04 +0200, Roché Compaan wrote:
>It does! And it is fairly simple to do. I basically built the distro with
>py2exe, extracted library.zip to a folder named library.zip and copied in
>missing packages and modules. I've only tested this by making an exe for
>the peak script and it seems to work fine.
Now, for extra credit, develop a distutils 'Command' object to do the steps
you just described, by having it invoke the py2exe command, etc. Then, you
won't have to worry about forgetting steps, and you'll be ready to package
other apps in this way. For some example Command objects, check out the
distutils.command package in the stdlib, or the setuptools.command package
in PEAK or PyProtocols CVS. (The setuptools ones are simpler.)
More information about the PEAK
mailing list