view tool_dependencies.xml @ 1:0b2c2790838a

Update clone command.
author Daniel Blankenberg <dan@bx.psu.edu>
date Tue, 04 Feb 2014 17:00:25 -0500
parents ae1828dd8bbc
children 46bd908161b6
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="pyBamParser" version="0.0.1">
        <install version="1.0">
            <actions>
                <action type="shell_command">hg clone -r 21b1bc7611a7675d8f72e258e3ee39912d64c7e7 https://bitbucket.org/dan/pybamparser pyBamParser</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 --home $INSTALL_DIR</action> 
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
Installs pyBamParser libraries.
        </readme>
    </package>
</tool_dependency>