[Pythonmac-SIG] ANN: PySol for OS X

Bob Ippolito bob at redivi.com
Tue Jan 25 07:39:23 CET 2005


On Jan 25, 2005, at 1:15, Brian Lenihan wrote:

> I re-factored Markus F.X.J Oberhumer's excellent PySol solitaire so it 
> could be built as an OS X app bundle using Bob Ippolito's brilliant 
> py2app.
...
> I am especially interested in finding out if the py2app bundle really 
> works with a stock 10.3 system (being the geek that I am, neither my 
> or my wife's system can be considered stock, although hers does not 
> have mag wheels, yet).

py2app is designed such that if an application that it builds works at 
all, it should work everywhere (on a given base platform).  It's not 
really possible to trip it up such that it works on your machine, but 
not elsewhere unless you're actively trying to do it.  Things that 
could cause this would be:
- installing anything other than Mac OS X itself to /System or /usr 
outside of /usr/local (don't do this! ever!)
- specifying --site-packages (will run locally, may not run elsewhere.  
packages on a user's machine might interfere in some way with yours)
- including binary code as a resource explicitly or implicitly via a 
framework (resources may depend on some other external framework, which 
won't be found + included.. for example, if you're embedding Tcl and 
some Tcl extensions that link against non-standard components)
- using code that can alternatively use files from some preinstalled 
location rather than bundle-relative (it could look in your homedir or 
some absolute path and find stuff it needs)

Otherwise, you can be relatively certain that if it runs on your 
machine, it runs everywhere. (it runs here, btw).

-bob



More information about the Pythonmac-SIG mailing list