Installing multiple Python versions + tkinter

Oliver Fromme olli at lurza.secnetix.de
Wed Jan 25 18:27:30 UTC 2012


Oliver Fromme <olli at secnetix.de> wrote:
 > What's the proper way to build tkinter for a non-default
 > Python version?

Answering myself ...  By reading through the bsd.python.mk
Makefile I found out that the following incantation in
tkinter's port directory does the trick:

# PYTHON_DEFAULT_VERSION=python2.7 make

However, I think this should be documented somewhere in a
reasonable place.  It certainly shouldn't require users to
read Makefiles.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"I have stopped reading Stephen King novels.
Now I just read C code instead."
        -- Richard A. O'Keefe


More information about the freebsd-python mailing list