On Mon, 05 Jun 2006 16:56:41 -0700 "Russell E. Owen" <[EMAIL PROTECTED]> 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. Which version of matplotlib are you using? Latest versions put the data files inside the matplotlib package (as opposed to a /share/ directory), so it finds them relative to itself using __file__. That wouldn't require knowing where python itself is. -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig