Re: [Pythonmac-SIG] py-appscript 0.20.3, 0.21.0 and impending 1.0.0 release (addendum)

2009-12-01 Thread Ronald Oussoren

On 28 Nov, 2009, at 21:00, Bill Janssen wrote:

 has hengist.p...@virgin.net wrote:
 
 The bouncing Dock icon is gone when using appscript 0.21.0 on a version of 
 Python that was built against 10.5 or 10.6 SDKs. (Yay!)
 
 Yay!  Now I can can my private copy of Python with the LSUIElement flag set...
 
 Perhaps it's time python.org started distributing framework builds for 10.5 
 and later?
 
 Seems like a good thought.

I don't mind linking to the 10.5, or even 10.6, SDK instead of the 10.4 one, 
but only if the resulting binary runs on 10.4 as well.  This won't happen until 
2.7 is released (and likewise for 3.2 in the py3k branch).

Ronald



smime.p7s
Description: S/MIME cryptographic signature
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] py-appscript 0.20.3, 0.21.0 and impending 1.0.0 release (addendum)

2009-11-28 Thread has
All,

 One more thing: I've chucked a preliminary 0.21.0 into the svn trunk.
 
 A couple of outstanding issues/omissions have been frustrating me
 recently, namely the annoying bouncing Dock icon

I've noticed a caveat:

The bouncing Dock icon is gone when using appscript 0.21.0 on a version of 
Python that was built against 10.5 or 10.6 SDKs. (Yay!)

However, the wretched thing still appears when using a Python installation 
built against a 10.4 SDK - i.e. anything running on Tiger; the python.org 
framework distros. (Boo!) 

I suspect the 10.4 Process Manager APIs are more aggressive in escalating 
non-GUI processes to GUI status when called. As I am running out of system APIs 
for identifying running processes and the application bundles that launched 
them, this is probably something I can't/will not address as it would likely 
involve making ugly, fragile kludges in the appscript code. 

Bouncing icons in 10.4 I don't much care about as most folks are on newer OSes 
by now. Bouncing icons in 10.5 and 10.6 are definitely undesirable, but they're 
a consequence of the design of the Python framework and the design of certain 
OS X APIs. Appscript is a victim of circumstance here: I need to use those 
APIs, and I'm not willing to make my code fragile and failure-prone just to 
avoid irritating but technically harmless behaviours coming from some Python 
distributions and OS X.

I am curious though (and this is probably a question for Ronald): how does 
PyObjC 2.x fare on python.org frameworks? If the framework is built against the 
10.4 SDK, then presumably Cocoa APIs introduced in 10.5+ won't be available to 
PyObjC there? Am I correct? If so, what's the recommended solution for 
10.5/10.6 users who wish to use a non-Apple Python installation and be able to 
access 10.5/10.6-only APIs (e.g. build your own Python framework?)?

Perhaps it's time python.org started distributing framework builds for 10.5 and 
later?

Any thoughts, advice, etc?

Thanks,

has

-- 
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] py-appscript 0.20.3, 0.21.0 and impending 1.0.0 release (addendum)

2009-11-28 Thread Bill Janssen
has hengist.p...@virgin.net wrote:

 The bouncing Dock icon is gone when using appscript 0.21.0 on a version of 
 Python that was built against 10.5 or 10.6 SDKs. (Yay!)

Yay!  Now I can can my private copy of Python with the LSUIElement flag set...

 Perhaps it's time python.org started distributing framework builds for 10.5 
 and later?

Seems like a good thought.

Bill
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig