[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Best/correct way to use Python 2.5 in Etch?



Hi all,

I know that Etch comes with Python 2.4 by default and that I can
install 2.5 via `aptitude` and have it available via the `python2.5`
binary. But once I do that, is there anything else I should do?

I've searched Google and seen that many people have edited '/usr/share/
python/debian_defaults' to make `python2.5` the 'default-version' and
remove it from the 'unsupported-versions' line, and then do something
like `pycentral updatedefault python2.4 python2.5`, although doing
that and running `pyversions -vd` still returns 2.4 for me for some
reason. People have also removed the '/usr/bin/python' symlink and
replaced it with a symlink pointing to python2.5, but I'm not sure if
that will break anything.

Is the above necessary to do, or should I simply use `python2.5`
whenever I want to use Python 2.5 and leave the '/usr/bin/python'
binary and 'debian_defaults' file alone? I know that with python-
setuptools, I can simply use `easy_install-2.5` instead of just
`easy_install` to have my packages automatically played in the correct
Python site-packages directory, so it doesn't seem like an issue
there.

Thanks for any help!


Reply to: