what has to be done for upgrading from Python 2.4 to 2.5?
- How can I find out which packages (in addition to the core packages) have been
installed up to now
- Can I just copy /usr/local/lib/python2.4/site-packages to
/usr/local/lib/python2.5 ?
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
If any of your packages are "extensions" in compiled languages
(typically C or C++) then they need to be completely rebuilt, as the
interpreter API changes between releases.
Technically you should be able to copy the pure Python packages and
midules across, althought eh .pyc file format alos differs between
releases. However, the .pyc files will all be rebuilt automatically when
they are required.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
Which OS?
Windows: control panel / software will list all python packages which
came with separate installers.
Linux: the package manager of your distribution should tell you what's
installed.
--
Dr. Sibylle Koczian
Universitaetsbibliothek, Abt. Naturwiss.
D-86135 Augsburg
e-mail : Sibylle...@Bibliothek.Uni-Augsburg.DE
It's Linux.
Thanks, but I don't have a package manager. I'm working with Linux-From-Scratch.
--
I've started keeping the tarballs for all of the packages I install in a
single directory, along with a shell script to install each of them. It
makes upgrading much easier. I do this on both Linux and Windows.
--
- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.