[Pythonmac-SIG] X11 and Tkinter (was: Beginner's questions)

Bob Ippolito bob at redivi.com
Tue Dec 30 08:26:30 EST 2003


On Dec 30, 2003, at 7:36 AM, Jack Jansen wrote:

>
> On 29-dec-03, at 18:19, Russell E Owen wrote:
>>> Note that you can also do this without installing a second Python. If
>>> you put _tkinter.so for X11 in, say, ~/Library/X11-Python and you add
>>> that directory to $PYTHONPATH. You could create a script x11python
>>> containing
>>>
>>> 	#!/bin/sh
>>> 	PYTHONPATH=~/Library/X11-Python:$PYTHONPATH
>>> 	exec /usr/bin/python "$@"
>>>
>>> should do the trick, I think (untested).
>>
>> That is a very interesting idea. I suppose one could do an x11 build 
>> of python, extract _tkinter.so and then discard the build, thus 
>> saving disk space and clutter over keeping two builds. But...might 
>> there some simpler way to obtain an x11-based _tkinter.so?
>
> Actually, it would be reasonably simple to create a PackMan package 
> that contains an X11 _tkinter, puts it in 
> /Library/Python/2.3/X11-Python and puts an x11python script in 
> /usr/local/bin.
>
> How much interest would there be in such a thing?

I'd be interested in having X11 packages for somethings (gtk and 
tkinter stuff mostly, I think), but I'm not particularly interested in 
compiling them myself, or using Fink :)

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20031230/17b3caf0/smime.bin


More information about the Pythonmac-SIG mailing list