[Pythonmac-SIG] Using getwcd() in a frozen app

2009-04-21 Thread Smith, Jeff
I am using py2app 0.3.6 on Mac OX 10.5 and after I freeze a simple command line tool, os.getcwd() returns the location where the application binary lives and not the directory the application is run from. Is there expected behavior and if so, is there a workaround for this? Jeffery G. Smith M

[Pythonmac-SIG] Patch for bdist_mpkg

2009-04-21 Thread Russell E. Owen
bdist_mpkg failed for me on 10.5.6 when I tried to build a binary for numarray 1.3.0/Python 2.6 as follows: "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac kages/bdist_mpkg/tools.py", line 106, in admin_writable gid = get_gid('admin') File "/Library/Frameworks/Pyth

Re: [Pythonmac-SIG] Using getwcd() in a frozen app

2009-04-21 Thread Christopher Barker
Smith, Jeff wrote: I am using py2app 0.3.6 on Mac OX 10.5 and after I freeze a simple command line tool, os.getcwd() returns the location where the application binary lives and not the directory the application is run from. Is there expected behavior Yes. The idea is that with a GUI app, the

Re: [Pythonmac-SIG] Patch for bdist_mpkg

2009-04-21 Thread Ronald Oussoren
Russel, The patch is already in the reposity. I guess Bob never released a version with that patch included. Are you using bdist_mpkg 0.4.3? If so, I'll push out a new release that includes the patch. Ronald On 22 Apr, 2009, at 1:10, Russell E. Owen wrote: bdist_mpkg failed for me on