changeset 24:278d6aef2d7d

Attempt using a virtualenv
author Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com>
date Tue, 01 Sep 2015 17:00:21 +0100
parents 787ee2d925bb
children 80d8e91e8b46
files tool_dependencies.xml
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Aug 31 16:10:27 2015 +0100
+++ b/tool_dependencies.xml	Tue Sep 01 17:00:21 2015 +0100
@@ -3,18 +3,13 @@
     <package name="riboplot" version="0.1.0">
         <install version="1.0">
             <actions>
-                <action type="download_by_url">https://pypi.python.org/packages/source/r/riboplot/riboplot-0.1.0.tar.gz</action>
-                <action type="make_directory">$INSTALL_DIR/lib/python</action>
-                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
-                <action type="set_environment">
-                    <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
-                    <environment_variable action="set_to" name="RIBOPLOT_PATH">$INSTALL_DIR</environment_variable>
+                <action type="setup_virtualenv">
+                     <package>https://pypi.python.org/packages/source/r/riboplot/riboplot-0.1.0.tar.gz#md5=047c7af90f7dbb1638158810a2960174</package>
                 </action>
             </actions>
         </install>
         <readme>
-           Requires installation of matplotlib 1.3.1 and pysam 0.8.3. RNA coverage requires bedtools installed.
+           Note: RNA coverage requires bedtools installed.
         </readme>
     </package>
 </tool_dependency>