view tool_dependencies.xml @ 1:f8fecf1f6eba draft default tip

Uploaded
author yhoogstrate
date Fri, 31 Jul 2015 05:42:44 -0400
parents b8d22acd3017
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="ez_setup" version="0.9">
        <repository changeset_revision="10fd2e2a9f2f" name="package_ez_setup_0_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    
    <package name="pysam" version="0.8.2.1">
        <install version="1.0">
            <actions>
                <action md5sum="daf63c1665fa601fc942f050f334a627" type="download_by_url">https://pypi.python.org/packages/source/p/pysam/pysam-0.8.2.1.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="10fd2e2a9f2f" name="package_ez_setup_0_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="ez_setup" version="0.9" />
                    </repository>
                </action>
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/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="prepend_to" name="PYTHONPATH">$INSTALL_DIR:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/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>
                    <environment_variable action="set_to" name="PYSAM_ROOT_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.
            The PYSAM_PATH has to be within the PYTHONPATH to let python automatically load this library.
        </readme>
    </package>
</tool_dependency>