Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 03:29:02 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        python@freebsd.org
Subject:   Re: python 2.7
Message-ID:  <20100815192902.GA29862@FreeBSD.cs.nctu.edu.tw>
In-Reply-To: <E1OkZoC-000HI1-C5@kabab.cs.huji.ac.il>
References:  <E1OkZoC-000HI1-C5@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 15, 2010 at 12:47:16 +0300, Daniel Braniss wrote:
> btw, how can I compile a port/package (ie py-pscycopg2) to use 2.7?

I think the easiest way current is setting USE_PYTHON=3D2.7 in
py-pscycopg2's Makefiles.

Or you can also set PYTHON_DEFAULT_VERSION=3D"python2.7" in
/etc/make.conf, which makes 2.7 as your default python version.
But that might need to take care of other python modules in the
system, please refer to the entry that describes how to do when
the default python version switches from 2.5 to 2.6.  (20090608)

Li-Wen

--=20
Li-Wen Hsu <lwhsu AT FreeBSD.org>
http://lwhsu.org

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxoP/0ACgkQQWsOOSiXsijTsACfQcPTNtuXyjK7gnJngAYcV0dC
Q7wAnjfrXJGkhWvn5wZLSGCqUUE1+2CA
=TROF
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100815192902.GA29862>