From owner-freebsd-python@FreeBSD.ORG Sun Aug 15 19:39:27 2010 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 404061065698 for ; Sun, 15 Aug 2010 19:39:27 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: from FreeBSD.cs.nctu.edu.tw (FreeBSD.cs.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id 087A68FC18 for ; Sun, 15 Aug 2010 19:39:26 +0000 (UTC) Received: by FreeBSD.cs.nctu.edu.tw (Postfix, from userid 1058) id 96F2A61F68; Mon, 16 Aug 2010 03:29:02 +0800 (CST) Date: Mon, 16 Aug 2010 03:29:02 +0800 From: Li-Wen Hsu To: Daniel Braniss Message-ID: <20100815192902.GA29862@FreeBSD.cs.nctu.edu.tw> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: python@freebsd.org Subject: Re: python 2.7 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, 15 Aug 2010 19:39:27 -0000 --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 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--