[Pythonmac-SIG] py2app question: path to included python

Bob Ippolito bob at redivi.com
Tue Jun 6 02:06:57 CEST 2006


On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote:

> When using py2app to create an application, is there a simple way  
> to get
> the path to the copy of python that is/will be bundled into the
> application?
>
> (I need this to copy in some matploblit data files)
> So far I'm generating it manually using some assumptions. it works but
> if there's a safer/easier way, I'd rather use that.

I don't know how matplotlib is structured, but you might want to look  
at writing a recipe for it. The pygame and PyOpenGL examples show how  
to include a few data files or an entire package as-is.

-bob



More information about the Pythonmac-SIG mailing list