view tool_dependencies.xml @ 0:d0a48ff511ae draft default tip

Uploaded
author rico
date Thu, 19 Sep 2013 16:10:09 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="beautifulsoup" version="3.2.1">
    <install version="1.0">
      <actions>
        <!-- Download source code -->
        <action type="download_by_url">https://pypi.python.org/packages/source/B/BeautifulSoup/BeautifulSoup-3.2.1.tar.gz</action>

        <!-- Build and install beautifulsoup -->
        <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>