changeset 0:f938170835cc draft

Uploaded
author iuc
date Tue, 10 Dec 2013 11:02:14 -0500
parents
children 5ef7cb808a1a
files tool_dependencies.xml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue Dec 10 11:02:14 2013 -0500
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="bx-python" version="12-2013">
+        <install version="1.0">
+            <actions>
+                <action type="shell_command">hg clone -r ac9fa7a479f269421edc1b0e4f1c2431981b0cf5 https://bitbucket.org/james_taylor/bx-python</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="BX_PYTHON_PATH">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            Installation of bx-python. The installation can be accessed via BX_PYTHON_PATH.
+        </readme>
+    </package>
+</tool_dependency>