[Pythonmac-SIG] LXML with py2app
Kenneth Miller
xkenneth at gmail.com
Thu Aug 7 23:03:24 CEST 2008
Chris,
How can I build python to link to the OS X Tkinter libraries?
That's the ONLY reason I'm using the system python. I usually use the
python built by macports.
Regards,
Ken
On Aug 7, 2008, at 3:59 PM, Chris Barker wrote:
> Kenneth Miller wrote:
>> This is what I'm encountering.
>> Here i printed the sys.path, why does this include modules local to
>> the machine? I want it to be independent of any local resources?
>> '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5',
>
> This is Apple's installed python. by default, if you run py2app with
> Apple's system python, it will link to that, rather than embedding
> all of python with it.
>
> I don't know if you can override that, but if you want your app
> bundle to run on pre 10.5 machines, you need to install the
> python.org python, and use that. py2app will embed the whole thing
> in your app bundle, and it should run on any max, OS-X 10.3.9 and
> above.
>
> I don't know if there are any special issues with LXML, but I'd get
> a simple app with only the standard library working first, and then
> try your full app.
>
> -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
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20080807/39068c2f/attachment.htm>
More information about the Pythonmac-SIG
mailing list