[Lunar-commits] <moonbase> Python: Clarified when a recompile of python related modules is really necessary.

Terry Chan tchan at lunar-linux.org
Sat Feb 23 21:34:16 CET 2008


commit 592f08e3199bc031fa0db735c15e0cf04513a78e
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Sat Feb 23 14:34:16 2008 -0600

    Python: Clarified when a recompile of python related modules is really necessary.
---
 python/Python/POST_INSTALL |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/python/Python/POST_INSTALL b/python/Python/POST_INSTALL
index d34d3f5..b7340fa 100644
--- a/python/Python/POST_INSTALL
+++ b/python/Python/POST_INSTALL
@@ -1,7 +1,9 @@
 #  Reinstall site-packages 
 message "$MESSAGE_COLOR"
-message "Any Python module previously installed is now broken due to the way"
-message "Python handles modules. They need to be recompiled in order to work."
+message "Any Python module previously installed may now be broken due to the way Python"
+message "handles modules. They may need to be recompiled in order to work, especially"
+message "on a major version change like 2.4, to 2.5 or 2.6. Minor version numbers,"
+message "like 2.5.1, to 2.5.2 are usually safe without recompiling."
 message "$DEFAULT_COLOR"
 if query "Do you want lunar to attempt to upgrade your Python modules?" y; then
         PYTHONMODS="$( lvu from /usr/lib/python*/site-packages | cut -d: -f1 | uniq | grep -v Python)"


More information about the Lunar-commits mailing list