From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 01:05:00 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 661881065672; Sat, 27 Aug 2011 01:05:00 +0000 (UTC) (envelope-from doug@safeport.com) Received: from oceanpt.safeport.com (oceanpt.safeport.com [65.122.17.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6A58FC08; Sat, 27 Aug 2011 01:05:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id p7R0OW71062068; Fri, 26 Aug 2011 20:24:32 -0400 (EDT) (envelope-from doug@safeport.com) Date: Fri, 26 Aug 2011 20:24:31 -0400 (EDT) From: doug@safeport.com To: Greg Larkin In-Reply-To: <4E5838E2.407@FreeBSD.org> Message-ID: References: <4E5838E2.407@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (oceanpt.safeport.com [127.0.0.1]); Fri, 26 Aug 2011 20:24:32 -0400 (EDT) Cc: doug , freebsd-questions@FreeBSD.org Subject: Re: Installing Python Packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2011 01:05:00 -0000 On Fri, 26 Aug 2011, Greg Larkin wrote: > On 8/26/11 8:07 PM, doug wrote: >> I am teaching myself python and have 2.6 installed. What is the proper >> way to install py26-setuptools? As 2.7 is the default it appears that I >> can neither use pkg_add nor build from the ports tree. >> >> I can download the source and the 2.6 egg. It appears that I need to >> configure the egg for FreeBSD. Is that correct? > > > Hi Doug, > > You can do this easily by using the ports tree. First, add the > following to your /etc/make.conf (create the file if necessary): > > PYTHON_DEFAULT_VERSION=python2.6 > > Next, do this: > > cd /usr/ports/devel/py-setuptools && make install clean > > You should be all set, and any other Python port that you install will > use the Python 2.6 installation, assuming you installed it from the > ports tree. > > Hope that helps, > Greg Great - I am sure it will, thank you. Where does one find all these 'magic' make variables? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277