[yt-svn] commit/yt: atmyers: Moving the INST_PY3 = 1 version of the mercurial install to before the first use of hg.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jul 26 14:10:03 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/6146c2117de6/
Changeset:   6146c2117de6
Branch:      yt
User:        atmyers
Date:        2016-07-26 20:38:24+00:00
Summary:     Moving the INST_PY3 = 1 version of the mercurial install to before the first use of hg.
Affected #:  1 file

diff -r 80f91744cb678e17ec365b1dc7ed366aedc440f1 -r 6146c2117de66b1b6eb6c8c486f6d87f5c2d747d doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -1425,6 +1425,13 @@
         log_cmd conda install --yes ${YT_DEP}
     done
 
+    if [ $INST_PY3 -eq 1 ]
+    then
+        echo "Installing mercurial"
+        log_cmd conda create -y -n py27 python=2.7 mercurial
+        log_cmd ln -s ${DEST_DIR}/envs/py27/bin/hg ${DEST_DIR}/bin
+    fi
+
     log_cmd pip install python-hglib
 
     log_cmd hg clone https://bitbucket.org/yt_analysis/yt_conda ${DEST_DIR}/src/yt_conda
@@ -1479,13 +1486,6 @@
         fi
     fi
 
-    if [ $INST_PY3 -eq 1 ]
-    then
-        echo "Installing mercurial"
-        log_cmd conda create -y -n py27 python=2.7 mercurial
-        log_cmd ln -s ${DEST_DIR}/envs/py27/bin/hg ${DEST_DIR}/bin
-    fi
-
     if [ $INST_YT_SOURCE -eq 0 ]
     then
         echo "Installing yt"

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