view tool_dependencies.xml @ 1:82ffa9e32988 draft default tip

Uploaded
author iuc
date Thu, 23 Apr 2015 10:10:39 -0400
parents 34b8e5cd74b6
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="numpy" version="1.9">
       <repository changeset_revision="84e97f5cd3ab" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="nwalign" version="0.3.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/n/nwalign/nwalign-0.3.1.tar.gz</action>

                <action type="set_environment_for_install">
                    <repository changeset_revision="84e97f5cd3ab" name="package_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="numpy" version="1.9" />
                    </repository>
                </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="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
                    <environment_variable action="set_to" name="NWALIGN_ROOT_PATH">$INSTALL_DIR</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Compiling nwalign requires a C compiler (typically gcc).</readme>
    </package>
</tool_dependency>