view tool_dependencies.xml @ 0:f3f4b6121444 draft default tip

Uploaded
author iuc
date Tue, 17 Sep 2013 08:11:41 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="pysam" version="0.7.5">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pysam.googlecode.com/files/pysam-0.7.5.tar.gz</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 --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="set_to" name="PYSAM_PATH">$INSTALL_DIR</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            Installation of pysam, pyrex and python are required. The installation can be accessed via PYSAM_PATH.
        </readme>
    </package>
</tool_dependency>