How to build Tkinter as extension module?

G

Guido Schimmels

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.
 
?

=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=

Guido said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,500
Latest member
ArianneJsb

Latest Threads

Top