view tool_dependencies.xml @ 0:fdad0c8c0957 draft

Uploaded initial version to test toolshed.
author pjbriggs
date Wed, 21 Jan 2015 11:07:37 -0500
parents
children d0986d2be693
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="python" version="2.7">
    <repository changeset_revision="74d009a2a4cb" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="numpy" version="1.8.1">
    <repository changeset_revision="0f9f634dec8a" name="package_numpy_1_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="macs2" version="2.1.0.20140616">
      <install version="1.0">
            <actions>
              <action type="download_by_url">https://pypi.python.org/packages/source/M/MACS2/MACS2-2.1.0.20140616.tar.gz</action>
              <action type="set_environment_for_install">
		<repository changeset_revision="74d009a2a4cb" name="package_python_2_7" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
		  <package name="python" version="2.7" />
		</repository>
		<repository changeset_revision="0f9f634dec8a" name="package_numpy_1_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
		  <package name="numpy" version="1.8.1" />
		</repository>
	      </action>
              <action type="make_directory">$INSTALL_DIR/lib/python</action>
              <action type="shell_command">
                export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
              </action>
              <action type="set_environment">
                <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
              </action>
            </actions>
      </install>
      <readme>Macs2.1 depends on having python2.7 and numpy 1.8 installed on all nodes of the work cluster</readme>
    </package>
</tool_dependency>