[Pythonmac-SIG] Distribute command-line tools with py2app or similar?

Zachary Pincus zachary.pincus at yale.edu
Tue Jul 1 03:50:15 CEST 2008

Hi Chris,

Thanks for your suggestions and help here! I really appreciate it. I  
wound up building my own installer packages mush as you suggest below,  
which turned out to be pretty simple to do -- good idea!

> I haven't tried this, but can you build python from source,  
> specifying an alternate install directory? This could give you a  
> custom build that you could make a mpkg out of.
> you might try:
> ./configure --enable-framework=/Library/Frameworks/MyPython --enable- 
> universalsdk
> Then make sure that your scripts have your python in their #!lines.  
> You could probably just built it as a regular old *nix build, too,  
> rather than a Framework, if all you want to do is run command line  
> tools. note that you'll probably need to build all the third party  
> packages you need too.
> I've just tried this, and it seems to work, but I haven't tried  
> moving it to another machine or anything. It does try to overwrite  
> the stuff in Applications/MacPython 2.5


More information about the Pythonmac-SIG mailing list