[yt-svn] commit/yt: ngoldbaum: Install gnureadline package, since readline is apparently deprecated.
    commits-noreply at bitbucket.org 
    commits-noreply at bitbucket.org
       
    Mon Sep 29 07:10:58 PDT 2014
    
    
  
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7848f9288258/
Changeset:   7848f9288258
Branch:      yt
User:        ngoldbaum
Date:        2014-09-29 00:25:19+00:00
Summary:     Install gnureadline package, since readline is apparently deprecated.
Affected #:  1 file
diff -r 4cf5c5369df9b012759ab979330d8e356d1b0e00 -r 7848f9288258e1eaf7b0decbf01ac3be39dec62b doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -986,8 +986,10 @@
 
 if !( ( ${DEST_DIR}/bin/python2.7 -c "import readline" 2>&1 )>> ${LOG_FILE})
 then
-    echo "Installing pure-python readline"
-    ( ${DEST_DIR}/bin/pip install readline 2>&1 ) 1>> ${LOG_FILE}
+    if !( ( ${DEST_DIR}/bin/python2.7 -c "import gnureadline" 2>&1 )>> ${LOG_FILE})
+        echo "Installing pure-python readline"
+        ( ${DEST_DIR}/bin/pip install gnureadline 2>&1 ) 1>> ${LOG_FILE}
+    fi
 fi
 
 if [ $INST_ENZO -eq 1 ]
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
    
    
More information about the yt-svn
mailing list