What's the proper way to update Python packages when updating Python from 2.6 to 2.7?
===

I've installed **A LOT** of python packages for Python 2.6.  Now I would like to upgrade Python to 2.7.  Is there a proper or systematic way to update all the installed packages?

In my system, all the packages are installed at
/usr/lib64/python2.6/site-packages/ and
/usr/lib/python2.6/site-packages/

One obvious way is to install Python 2.7, download all the package sources or egg files, and re-install them one by one.  However, Some useful packages like numpy and scipy are notorious for installation, especially when one needs to install from source.  I expect I'll need to spend several hours to find the packages and solve the installation problems here and there.

Anyone has any suggestions on systematically update the installed packages? Thanks!