diff tool_dependencies.xml @ 0:3f3bc5c80ee0 draft

Uploaded
author iuc
date Thu, 23 Apr 2015 08:55:02 -0400
parents
children ec4aeb1d7207
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Apr 23 08:55:02 2015 -0400
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<tool_dependency>
+        <package name="nwalign" version="0.3.1">
+            <install version="1.0">
+                <actions>
+                    <action type="download_by_url">https://pypi.python.org/packages/source/n/nwalign/nwalign-0.3.1.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="NWALIGN_ROOT_PATH">$INSTALL_DIR</environment_variable>
+                    </action>
+                </actions>
+            </install>
+            <readme>Compiling nwalign requires a C compiler (typically gcc).</readme>
+        </package>
+</tool_dependency>