From owner-freebsd-python@FreeBSD.ORG Sun Jun 7 02:51:01 2009 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1F42106566C for ; Sun, 7 Jun 2009 02:51:01 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id C78DE8FC08 for ; Sun, 7 Jun 2009 02:51:01 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 25B57359AE4; Sat, 6 Jun 2009 22:32:54 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 06 Jun 2009 22:32:54 -0400 X-Sasl-enc: GwckUPtZNm8jnSKRJ/tJ43QCcB593mduLozJ5MAlyeIs 1244341973 Received: from [10.0.1.7] (c-66-41-132-62.hsd1.mn.comcast.net [66.41.132.62]) by mail.messagingengine.com (Postfix) with ESMTPSA id B5DD61E4ED; Sat, 6 Jun 2009 22:32:53 -0400 (EDT) Message-Id: <3422C91A-566E-4097-B5D1-24E251CB8E80@tcbug.org> From: Josh Paetzel To: Chuck Robey In-Reply-To: <4A2ACBA5.6050602@telenix.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sat, 6 Jun 2009 21:32:52 -0500 References: <4A2ACBA5.6050602@telenix.org> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-python@freebsd.org Subject: Re: aboout setting up a new python X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 02:51:02 -0000 On Jun 6, 2009, at 3:03 PM, Chuck Robey wrote: > I wanted to build python26, being that my current python is > python25, and I want > (suddenly) to develop on this machine for Pyglet (OpenGL for Python) > and > pyglet's port installed using py26 ... beyond that, I think I like > the 2.6 > version of python (I don't like the 3.0 version, and would REALLY > NOT want to > install that here). > > So, I know there's a set of links to make, to get the 2.6 version to > work. I'd > guessed that maybe thing thing named "python-config" would do that > for me, but > there's no man page, and the response from --help is merely the > usage(). I > haven't any idea how to use it, not one line. I can't find anything > in > /usr/local/share, either (but I might not be looking in the right > place anyhow). > Tried in the doc subdir too. > > Could I get a hint how to get my python2.6 up? BTW, I tried to see > if maybe > just installing the python26 port might activate 2.6 for me, but > when I run > "python" the prompt tells me that version 2.5.4 is still in control. > > To get the symlink for /usr/local/bin/python to point at your python 2.6 binary you can put PYTHON_DEFAULT_VERSION=python2.6 in to /etc/ make.conf and then install lang/python26, or you can just create the symlink yourself. Or you can start the python editor using python2.6 if you want the old symlink to still point at python 2.5 Thanks, Josh Paetzel