view tool_dependencies.xml @ 1:be2fc454d121 default tip

Changed revision of package_numpy_1_7 to 8b3a5c7061d8
author miller-lab
date Mon, 06 Jul 2015 10:26:16 -0400
parents c84c287b81a4
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="numpy" version="1.7.1">
    <repository prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu/" owner="iuc" name="package_numpy_1_7" changeset_revision="8b3a5c7061d8" />
  </package>

  <package name="fisher" version="0.1.4">
    <install version="1.0">
      <actions>
        <!-- Download source code -->
        <action type="download_by_url">https://pypi.python.org/packages/source/f/fisher/fisher-0.1.4.tar.gz</action>

        <!-- Get PYTHONPATH_NUMPY from numpy package -->
        <action type="set_environment_for_install">
          <repository toolshed="http://toolshed.g2.bx.psu.edu/" owner="iuc" name="package_numpy_1_7" changeset_revision="8b3a5c7061d8">
            <package name="numpy" version="1.7.1" />
          </repository>
        </action>

        <!-- Build and install fisher -->
        <action type="shell_command">mkdir -p $INSTALL_DIR/lib/python</action>
        <action type="shell_command">PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY python setup.py install --home $INSTALL_DIR</action>

        <!-- Set environment for dependent repositories -->
        <action type="set_environment">
          <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
          <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
        </action>
      </actions>
    </install>
  </package>
</tool_dependency>