diff tool_dependencies.xml @ 0:5eb0bfde4f2f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_request_2_7 commit 6826eb9b45a45eafb6fe8c4d7d94c9e1a3906ed5
author iuc
date Sat, 26 Sep 2015 18:22:53 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Sat Sep 26 18:22:53 2015 -0400
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="request" version="2.7">
+        <install version="1.0">
+            <actions>
+                <action md5sum="29b173fd5fa572ec0764d1fd7b527260" type="download_by_url">https://pypi.python.org/packages/source/r/requests/requests-2.7.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; 
+                    export ATLAS=$ATLAS_ROOT_PATH &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="PYTHONPATH_REQUEST">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="REQUEST_ROOT_DIR">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling and installing the Python request library.</readme>
+    </package>
+</tool_dependency>