view tool_dependencies.xml @ 4:b97259dc9149

Update clone command.
author Daniel Blankenberg <dan@bx.psu.edu>
date Tue, 04 Feb 2014 17:02:51 -0500
parents de60d1631ce4
children 102e3710dbdc
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="pyBamTools" version="0.0.1">
        <install version="1.0">
            <actions>
                <action type="shell_command">hg clone -r 2f0e7841b3b65c4e8f65d02b300dcc28c10ebe26 https://bitbucket.org/dan/pybamtools pyBamTools</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 pyBamTools libraries.
        </readme>
    </package>
</tool_dependency>