changeset 0:c7fb72de0a20 draft default tip

Uploaded
author rico
date Thu, 19 Sep 2013 16:16:45 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Sep 19 16:16:45 2013 -0400
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="munkres" version="1.0.5.4">
+    <install version="1.0">
+      <actions>
+        <!-- Download source code -->
+        <action type="download_by_url">https://pypi.python.org/packages/source/m/munkres/munkres-1.0.5.4.tar.gz</action>
+
+        <!-- Build and install munkres -->
+        <action type="shell_command">mkdir -p $INSTALL_DIR/lib/python</action>
+        <action type="shell_command">PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python python setup.py install --home $INSTALL_DIR</action>
+
+        <!-- Set environment for dependent repositories -->
+        <action type="set_environment">
+          <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
+        </action>
+      </actions>
+    </install>
+  </package>
+</tool_dependency>