Re: [Pythonmac-SIG] [wxPython-users] Re: building wxPython on Mac OS X (10.5)

2009-09-25 Thread Gabriel Rossetti
Robin Dunn wrote: On 9/24/09 6:46 AM, gabriel.rosse...@arimaz.com wrote: it appears linked with the wrong version of /usr/lib/libwx_macud-2.8.0.dylib, is that correct? Yes. If so, how can I fix it? Double check the wxWidgets build and install steps. It should have used

Re: [Pythonmac-SIG] py2app DistUtilsPlatformError[Sec=Unclassified]

2009-09-25 Thread Christopher Barker
mathew oakes wrote: Cairo appears to be only available via macports on mac, and I'm not thorough enough to mix bits of different python distributions, so must do everything through one. You should be able to use a macports Cairo lib with a non-macports pyCairo, but if you've got something work

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread Gabriel Rossetti
Orestis Markou wrote: On 25 Σεπ 2009, at 6:31 μ.μ., gabriel.rosse...@arimaz.com wrote: How about running the python exec directly from the virtual env : and again it seams to work (correct me again if I messed up somewhere). What is the advantage of using your method? None in particular,

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread Orestis Markou
On 25 Σεπ 2009, at 6:31 μ.μ., gabriel.rosse...@arimaz.com wrote: How about running the python exec directly from the virtual env : and again it seams to work (correct me again if I messed up somewhere). What is the advantage of using your method? None in particular, apart from the fact t

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread gabriel . rossetti
How about running the python exec directly from the virtual env : /Users/me/Desktop/virtual_python_root/bin/python Python 2.5.1 (r251:54863, Jun 17 2009, 20:37:34) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import w

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread Orestis Markou
No need for a wrapper script. In recent versions of virtualenv, you can do this: activate_this = 'path/to/virtualenv/bin/activate_this.py' if os.path.exists(activate_this): execfile(activate_this, dict(__file__=activate_this)) On 25 Σεπ 2009, at 3:56 μ.μ., Gabriel Rossetti wrot

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread Aahz
On Fri, Sep 25, 2009, Gabriel Rossetti wrote: > > I would like to create a Launchd plist entry to start a virtualenv and > run a python project. I created my plist, but I'm not sure how to get it > to activate the virtualenv and run the program. I thought that maybe I > could create two emtr

[Pythonmac-SIG] Lanchd + virtualenv

2009-09-25 Thread Gabriel Rossetti
Hello everyone, I would like to create a Launchd plist entry to start a virtualenv and run a python project. I created my plist, but I'm not sure how to get it to activate the virtualenv and run the program. I thought that maybe I could create two emtries : http://www.apple