upgrading
Josh Paetzel
josh at tcbug.org
Tue Mar 24 23:56:20 PDT 2009
On Mar 21, 2009, at 12:01 PM, Chuck Robey wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've just decided to update my Pythonn skills. First step was to
> decide what
> version to base my learning effort on, and I decided on 2.6. The
> problem is, my
> FreeBSD python port level is 2.5. I know perfectly well how to
> build/install
> the python26 port, but a couple of questions first:
>
> 1 -- can python25 and python26 coexist, or should I consider
> deleting the
> python25 port?
>
You can only have one symlink for /usr/local/bin/python Other than
that the two installs coexist just fine. The real problem is the
random py-whatever ports. They select which python install to use
based on PYTHON_VERSION, which is python2.5 unless overridden. The
problem comes when they don't drop everything in /usr/local/lib/
pythonX.Y/site-packages, but rather go in to /usr/local/bin or whatnot.
So the procedure I generally use is, install python 2.5, install all
my py-whatever ports, install python 2.6, then set
PYTHON_VERSION=python2.6 n /etc/make.conf, then go back in to the py-
whatever port dirs and do a make clean install -
DFORCE_PACKAGE_REGISTER This needs some testing on your part to
ensure the ports don't overlap or scribble on each other. Hand
mangling may be needed, or better yet, install the two versions in
different jails or chroots.
> 2 -- is there some helper utility (perhaps part of some port) that
> accomplishes
> the library compatibility updating, all of the other python updating
> problems,
> for when you update? I'd want to use such a tool for keeping my
> python site-dir
> stuff done right.
>
> 3 -- what's the port which I need to have pre-installed, in order to
> insure that
> python26 has tkinter working in it?
>
x11-toolkits/py-tkinter
> 4 -- if I want to use eclipse to write my code in python, is the
> Pydev the
> correct eclipse plugin to use?
>
> Thanks, guys.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknFHYcACgkQz62J6PPcoOm0YwCeKyyivnzfPzzEpVxS/5CBp9gX
> VrgAnRgt69ym3/sbAKZgDqjzthhkVhNG
> =edXy
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-python at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at freebsd.org
> "
Thanks,
Josh Paetzel
More information about the freebsd-python
mailing list