Re: [Pyobjc-dev] Pure Python Cocoa GUI application?
Brought to you by:
ronaldoussoren
|
From: Ronald O. <ron...@ma...> - 2009-03-31 13:42:23
|
On 31 Mar, 2009, at 4:46, Orestis Markou wrote: > Interesting - I'm using virtualenv, and when using the python > executable created by virtualenv I don't get the dock icon, whereas if > I use the system python executable I do. I wonder if there's a way to > overcome this... The python executable in a virtualenv is not equivalent to "pythonw" while the regular one is. That is, the executable that gets started when you start python outside of a virtual env is one that's located in an .app bundle (check sys.executable for evidence). I'll probably get around to fixing virtualenv in the near future as I'm about to move my development environment to something that's entirely based on clean installs of Python with per-project virtual environments. I've looked into such a fix in the past as well and getting the semantics of virtualenv exactly right could be a challenge, but still doable. Ronald |