changeset 0:04c9eef6c14b draft default tip

Uploaded
author saket-choudhary
date Mon, 01 Sep 2014 18:22:51 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 31 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Mon Sep 01 18:22:51 2014 -0400
@@ -0,0 +1,31 @@
+<?xml version='1.0' encoding='utf-8'?>
+<tool_dependency>
+    <package name="requests" version="2.2.1">
+        <readme>
+            This Galaxy Tool shed package installs python-requests(https://pypi.python.org/pypi/requests)
+            package.
+
+            The corresponding PYTHONPATH is accessible via PYTHONPATH_REQUESTS
+
+            Developmental version is hosted on Github:  https://github.com/saketkc/galaxy_tools/packages/package_requests_2_2_1/
+        </readme>
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://pypi.python.org/packages/source/r/requests/requests-2.2.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
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_REQUESTS">$INSTALL_DIR/lib/python</environment_variable>
+                </action>
+            </actions>
+        </install>
+    </package>
+</tool_dependency>
+
+
+
+