Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2011 20:24:31 -0400 (EDT)
From:      doug@safeport.com
To:        Greg Larkin <glarkin@FreeBSD.org>
Cc:        doug <doug@fledge.watson.org>, freebsd-questions@FreeBSD.org
Subject:   Re: Installing Python Packages
Message-ID:  <alpine.BSF.2.00.1108262022260.1652@oceanpt.safeport.com>
In-Reply-To: <4E5838E2.407@FreeBSD.org>
References:  <alpine.BSF.2.00.1108262001480.19665@fledge.watson.org> <4E5838E2.407@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1108262022260.1652>