How to build Tkinter as extension module?

"Martin v. Löwis" martin at v.loewis.de
Sat Jan 24 04:11:49 EST 2004


Guido Schimmels wrote:

> When I build python with tkinter support (Linux), the python interpreter
> is linked to the tcl/tk shared libraries, thus making them a hard
> dependency. That is unfortunate. A friend told me, Debian supports tkinter
> via an autonomous extension module. I have looked at the Debian rules file
> but wasn't able to discover the trick. 

Don't add _tkinter in Modules/Setup, or uncomment the *shared* line
in Setup.

Regards,
Martin




More information about the Python-list mailing list