How can I disable module of tkinter when compiling Python 2.5 on redhat9 ?

Putilov Roman kelebrinir at gmail.com
Mon Jul 9 12:33:52 CEST 2012


09.07.12 13:21, cheetah ?????:
> I don't need it.
>
> thanks

In python's setup.py replace:
     self.detect_tkinter(inc_dirs, lib_dirs)
of
     def detect_modules(self):

This will ignore the compilation of _tkinter.c and tkappinit.c of
the python distribution.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120709/58d6e26e/attachment.html>


More information about the Python-list mailing list