view tool_dependencies.xml @ 7:d8bf3de88dcf

Update clone command.
author Daniel Blankenberg <dan@bx.psu.edu>
date Thu, 13 Mar 2014 18:34:42 -0400
parents 84ac1c74b371
children b6217f6ab3b5
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 419eeb9540456a81dc4290c0721baa9cb644126f 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>