python 2.7

Li-Wen Hsu lwhsu at FreeBSD.org
Sun Aug 15 19:39:27 UTC 2010


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=2.7 in
py-pscycopg2's Makefiles.

Or you can also set PYTHON_DEFAULT_VERSION="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

-- 
Li-Wen Hsu <lwhsu AT FreeBSD.org>
http://lwhsu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20100815/501bc286/attachment-0001.pgp


More information about the freebsd-python mailing list