view tool_dependencies.xml @ 1:a12f73c3b116 draft default tip

Fixed URL
author peterjc
date Wed, 17 May 2017 07:00:30 -0400
parents a42f244cce44
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="numpy" version="1.9">
        <repository changeset_revision="83d12e13dbbd" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="biopython" version="1.67">
        <readme>
This Galaxy Tool Shed package installs Biopython from source, having
first installed NumPy which is a build time depencency. This requires
and assumes a standard C compiler is already installed, along with
the Python header files.

Development of this dependency definition is being done here on GitHub:
https://github.com/biopython/galaxy_packages

The PYTHONPATH for biopython can be accessed through PYTHONPATH_BIOPYTHON.
        </readme>
        <install version="1.0">
            <actions>
                <action sha256sum="1ab322fe4d2f79d2d999c9d8faf8b4e0b4c41c4e8b5f0a97912dfa0e3aa249e6" type="download_by_url">https://pypi.python.org/packages/f4/35/67d779f52870770c228f9edd0c9d1d1b9bc11afad794e220295d7b88a804/biopython-1.67.tar.gz#md5=542699cc310588c1997806681ee1f65e</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="83d12e13dbbd" 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; 
                    export PATH=$PATH:$PATH_NUMPY &amp;&amp; 
                    export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &amp;&amp; 
                    python setup.py install --install-lib $INSTALL_DIR/lib/python
                </action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="append_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="PYTHONPATH_BIOPYTHON">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>
</tool_dependency>