view tool_dependencies.xml @ 2:7f55ab725342

Have hg clone command explicitly declare the checkout directory.
author Daniel Blankenberg <dan@bx.psu.edu>
date Tue, 14 May 2013 12:50:30 -0400
parents f513cc9b881c
children 3cbac77af20f
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 bca67ec9a3bc838aef5343f5bbea57b1bc63c9d6 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="append_to">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
Installs pyBamParser libraries.
        </readme>
    </package>
</tool_dependency>