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

Putilov Roman kelebrinir at gmail.com
Mon Jul 9 06:33:52 EDT 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