view tool_dependencies.xml @ 0:04c9eef6c14b draft default tip

Uploaded
author saket-choudhary
date Mon, 01 Sep 2014 18:22:51 -0400
parents
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="requests" version="2.2.1">
        <readme>
            This Galaxy Tool shed package installs python-requests(https://pypi.python.org/pypi/requests)
            package.

            The corresponding PYTHONPATH is accessible via PYTHONPATH_REQUESTS

            Developmental version is hosted on Github:  https://github.com/saketkc/galaxy_tools/packages/package_requests_2_2_1/
        </readme>
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/r/requests/requests-2.2.1.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
                </action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="set_to" name="PYTHONPATH_REQUESTS">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>
</tool_dependency>