# HG changeset patch
# User miller-lab
# Date 1378748515 14400
# Node ID 59801857421b1f69657a349ae55192b45498fc9d

Initial version

diff -r 000000000000 -r 59801857421b tool_dependencies.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Mon Sep 09 13:41:55 2013 -0400
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="mechanize" version="0.2.5">
+    <install version="1.0">
+      <actions>
+        <!-- Download source code -->
+        <action type="download_by_url">https://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz</action>
+
+        <!-- Build and install mechanize -->
+        <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>