view tool_dependencies.xml @ 0:a4e35f23093f draft

initial commit
author fubar
date Wed, 07 Aug 2013 21:44:50 -0400
parents
children f8d339d91b3a
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>

    <package name="pysam" version="0.7.5">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pysam.googlecode.com/files/pysam-0.7.5.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 action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            simple pysam install test from ross for htseq
        </readme>
    </package>
</tool_dependency>