diff tool_dependencies.xml @ 2:013d94dd5478 default tip

fix numpy
author Saket Choudhary <saketkc@gmail.com>
date Fri, 01 Nov 2013 03:57:18 +0530
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Fri Nov 01 03:57:18 2013 +0530
@@ -0,0 +1,17 @@
+<tool_dependency>
+    <package name="requests" version="2.0.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://pypi.python.org/packages/source/r/requests/requests-2.0.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 --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
+                <action type="set_environment">
+                    <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable name="PYTHONPATH_REQUESTS" action="set_to">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>The PYTHONPATH for python-requests can be accessed through PYTHONPATH_REQUESTS.</readme>
+    </package>
+</tool_dependency>