Re: [Pythonmac-SIG] Help with path settings

2008-01-29 Thread George Wright
Piet van Oostrum <[EMAIL PROTECTED]> wrote: George Wright <[EMAIL PROTECTED]> (GW) wrote: GW> I'm having trouble with PYTHONPATH .. GW> ... GW> PYTHONPATH =/usr/local/Zope-3.3.0/lib/python GW> I want to change this to PYTHONPATH='' GW> I can't find where I set it to the current value.

[Pythonmac-SIG] py2app and command line options

2008-01-29 Thread Christopher Barker
Hey all, I've got a py2app bundle working nicely, and it works fine when I fire ti up from the command line, but when I double click on it, I get a sys.argv that looks like: sys.argv is: ['/Users/cbarker/HAZMAT/hazweb/trunk/cameo/StandAlone/dist/cameo_standalone.app/Contents/Resources/cameo_st

Re: [Pythonmac-SIG] Py2App and adding paths to sys.path

2008-01-29 Thread Christopher Barker
Kenneth Miller wrote: > I do the same thing, can't you just include the Library code in > the Bundle (py2app knows how to do this) and have it also search there? Yes, I could, but then the entire package gets included, not just the pyc files that I need -- not really a big deal, but it do

[Pythonmac-SIG] Py2App and adding paths to sys.path

2008-01-29 Thread Christopher Barker
Hi all, I'm trying to bundle up a pretty complicated app. During the app's initialization, a path is added to sys.path, so that it can see the app's "library" code: app_root = os.path.dirname(os.path.dirname(os.path.abspath( os.path.realpath(__file__ app_lib_dir = os.path.join(app

Re: [Pythonmac-SIG] Help with path settings

2008-01-29 Thread Piet van Oostrum
> George Wright <[EMAIL PROTECTED]> (GW) wrote: >GW> I'm having trouble with PYTHONPATH .. >GW> george-g5:~ georgewright$ env >GW> TERM_PROGRAM=Apple_Terminal >GW> ... >GW> PYTHONDOCS=/Users/georgewright/Python_stuff/Python-Docs-2.4.2/ >GW> PATH=/usr/local/bin:/usr/local/sbin:/usr/local/:/usr/