Mercurial > repos > miller-lab > package_mechanize_0_2_5
view tool_dependencies.xml @ 0:59801857421b draft default tip
Initial version
author | miller-lab |
---|---|
date | Mon, 09 Sep 2013 13:41:55 -0400 |
parents | |
children |
line wrap: on
line source
<?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>