Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
The fix I have working for this now is to use a symbolic link to the directory where I keep my scripts. Not quite as clean as just using the script name, but certainly better than typing out a long direct path. I see what you are saying. It didn't occur to me that Python would not use an

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
I see what you are saying. It didn't occur to me that Python would not use any of those variables, not even $PYTHONPATH. Thank you for pointing that out. I suppose the next best strategy should be to look into using a terminal shortcut to at least make the "cd" to the directory a bit less

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Kevin Walzer
Pascal Bompard wrote: Yes, I am aware that I could do that. I chose to only demonstrate the full path method rather than both ways to access the file in my example. The problem remains though, that every time I want to run a script in that directory, I'd have to type out the entire path, which

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
Yes, I am aware that I could do that. I chose to only demonstrate the full path method rather than both ways to access the file in my example. The problem remains though, that every time I want to run a script in that directory, I'd have to type out the entire path, which is not ideal. Su

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Kevin Walzer
Pascal Bompard wrote: I will include some terminal output below to help with diagnostics: Successful attempt: pascal$ python /Users/pascal/Documents/Python/Dev/myapps/test.py Unsuccessful attempt: pascal$ python

[Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Pascal Bompard
The problem I am experiencing is that I can run a Python script successfully if I use the full path to the script, but I can't run it otherwise. I have checked and set my $PATH as well as $PYTHONPATH to be correct. Also, the sys.path has a correct reference. I have also confirmed that per

[Pythonmac-SIG] py2app creates 90 MB .app

2008-07-13 Thread Markus
Hi, My application depends on Python and wxPython. I am creating a .app- file with py2app under Leopard. Python 2.5.2 and wxPython 2.8.8.0. The file size of the app is 90 MB for "python setup.py py2app": Frameworks/libwx_macud-2.8.0.dylib is 21 MB Frameworks/Python.framework is 5 MB Resources/