[Pythonmac-SIG] How to create a desktop alias to run a python file?
Christopher Barker
Chris.Barker at noaa.gov
Mon Mar 26 19:02:12 CEST 2007
Ronald Oussoren wrote:
> You mean like "py2app --semi-standalone --site-packages"? This does
> require adding everything you don't want to be copied from site-packages
> to "--excludes" which is less than ideal.
Exactly. Though I had forgotten about --semi-standalone, thanks for the
reminder. And it does have the advantage that you are being explicit
about what you are expecting the system to have installed.
> I wouldn't mind adding a
> "--system-dependent-applet" option to py2app that builds an "applet"
> when that would help making py2app the obvious application bundle for
> everyone. I won't be writing the required code any time soon, but if
> someone does do the legwork I can look at the patch and apply it.
Thanks. I don't have much time, and I don't even know where to start,
but maybe some day...
> I think this would be useful for inhouse applications where you have ful
> control over the system environment
Exactly.
> Adding full support for python eggs would go a long way of fixing that
> problem. That is, py2app could force loading of specific versions of
> python eggs to load code from site-packages instead of using whatever
> happens to be on the default search path.
That would be nice.
>> Is the old "build applet" working well with Python2.5, etc?
>
> Yes, but I'd like to get rid of it in favor of py2app.
I agree. One stop shopping.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list