Author: tlinnet Date: Sat Oct 1 09:49:01 2016 New Revision: 28236 URL: http://svn.gna.org/viewcvs/relax?rev=28236&view=rev Log: Making a Redhat 6 deploy script, which will upgrade python from 2.6 to 2.7
The normal installation through yum will have python 2.6 and only numpy 2.4. This is not good. Added: trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh - copied, changed from r28234, trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh Modified: trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh Modified: trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh URL: http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh?rev=28236&r1=28235&r2=28236&view=diff ============================================================================== --- trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh (original) +++ trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh Sat Oct 1 09:49:01 2016 @@ -3,7 +3,7 @@ # Script for deploying relax on Google Cloud Computing GCC # Install yum packages -function doaptget { +function doyum { # Install lynx sudo yum -y install lynx @@ -15,9 +15,6 @@ # mpi4py sudo yum -y install mpi4py-openmpi - # Install python pip - sudo easy_install pip - # Install dependencies sudo yum -y install numpy sudo yum -y install scipy python-matplotlib @@ -25,7 +22,7 @@ # For trunk checkout and graphs sudo yum -y install subversion scons - # Install xmgrace + # Install xmgrace. Add the EPEL repository. wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release-6-8.noarch.rpm sudo yum -y install grace @@ -33,6 +30,8 @@ # Install python packages function dopip { + # Install python pip + sudo easy_install pip sudo pip install epydoc } @@ -123,7 +122,7 @@ # Combine functions function installandcheck { - doaptget + doyum dopip getversions dobin Copied: trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh (from r28234, trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh) URL: http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh?p2=trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh&p1=trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh&r1=28234&r2=28236&rev=28236&view=diff ============================================================================== --- trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64.sh (original) +++ trunk/devel_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh Sat Oct 1 09:49:01 2016 @@ -3,7 +3,7 @@ # Script for deploying relax on Google Cloud Computing GCC # Install yum packages -function doaptget { +function doyum { # Install lynx sudo yum -y install lynx @@ -15,9 +15,6 @@ # mpi4py sudo yum -y install mpi4py-openmpi - # Install python pip - sudo easy_install pip - # Install dependencies sudo yum -y install numpy sudo yum -y install scipy python-matplotlib @@ -25,7 +22,7 @@ # For trunk checkout and graphs sudo yum -y install subversion scons - # Install xmgrace + # Install xmgrace. Add the EPEL repository. wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release-6-8.noarch.rpm sudo yum -y install grace @@ -33,6 +30,8 @@ # Install python packages function dopip { + # Install python pip + sudo easy_install pip sudo pip install epydoc } @@ -123,7 +122,7 @@ # Combine functions function installandcheck { - doaptget + doyum dopip getversions dobin _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits