view tool_dependencies.xml @ 6:84ac1c74b371

Update clone command.
author Daniel Blankenberg <dan@bx.psu.edu>
date Thu, 27 Feb 2014 16:22:55 -0500
parents 102e3710dbdc
children d8bf3de88dcf
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 ddb06d19f47dcfef5410591628447c2385e4432c 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>