diff tool_dependencies.xml @ 0:5d0c54f7fea2 draft

Uploaded
author biopython
date Sat, 06 Jul 2013 10:30:00 -0400
parents
children ededc5ef3fc0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Sat Jul 06 10:30:00 2013 -0400
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="numpy" version="1.7.1">
+        <repository name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="matplotlib" version="1.2.1">
+        <repository name="package_matplotlib_1_2" owner="bgruening" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <!-- TODO reportlab -> Python Imaging Library
+    <package name="reportlab" version="1.2.1">
+        <repository name="package_reportlab_1_2" owner="bgruening" prior_installation_required="True" />
+    </package>
+    -->
+    <package name="biopython" version="1.61">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://pypi.python.org/packages/source/b/biopython/biopython-1.61.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository name="package_matplotlib_1_2" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
+                        <package name="matplotlib" version="1.2.1" />
+                    </repository>
+                    <repository name="package_numpy_1_7" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
+                        <package name="numpy" version="1.7.1" />
+                    </repository>
+                </action>
+
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
+                export PATH=$PATH:$PATH_NUMPY &amp;&amp; 
+                export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY:$PYTHONPATH_MATPLOTLIB &amp;&amp; 
+                python setup.py install --home $INSTALL_DIR</action>
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
+
+                    <environment_variable action="set_to" name="PYTHONPATH_BIOPYTHON">$INSTALL_DIR/lib/python</environment_variable>
+                    </action>
+            </actions>
+        </install>
+        <readme>The PYTHONPATH for biopython can be accessed through PYTHONPATH_BIOPYTHON.</readme>
+    </package>
+</tool_dependency>