view package_htseq_0.5.4/tool_dependency.xml @ 0:f30c626679aa draft

Uploaded
author fubar
date Thu, 06 Jun 2013 07:41:46 -0400
parents
children af2f005e5569
line wrap: on
line source

<?xml version="1.0"?>
<!-- borrowed by Ross Lazarus from Lance Parson's htseq code -->
<tool_dependency>
    <package name="package_numpy_1_7" version="1.7.1">
        <repository name="package_numpy_1_7" owner="blankenberg" toolshed="http://testtoolshed.g2.bx.psu.edu"/>
    </package>
    <package name="package_matplotlib_1_2" version="1.2">
        <repository name="package_matplotlib_1_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"/>
    </package>
    <package name="package_htseq_0.5_4" version="0.5.4p3">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p3.tar.gz</action>
                <action type="make_directory">$INSTALL_DIR/lib/python</action> <!-- Not sure why these must be made apriori, but install fails otherwise -->
                <action type="make_directory">$INSTALL_DIR/lib64/python</action> <!-- Not sure why these must be made apriori, but install fails otherwise -->
                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python &amp;&amp; python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            Installation of HTSeq requires Python 2.5+ (does not yet work with Python 3), and the Numpy Python package.
        </readme>
    </package>
</tool_dependency>