view tool_dependencies.xml @ 0:4890592e10f8 draft default tip

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

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="beautifulsoup4" version="4.1.0">
        <readme>
            This Galaxy Tool shed package installs python-bs4(http://www.crummy.com/software/BeautifulSoup/bs4/doc)
            package.

            The corresponding PYTHONPATH is accessible via PYTHONPATH_BEAUTIFULSOUP4

            Developmental version is hosted on Github:  https://github.com/saketkc/galaxy_tools/packages/package_beautifulsoup4_4_1_0/
        </readme>
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://www.crummy.com/software/BeautifulSoup/bs4/download/4.0/beautifulsoup4-4.1.0.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_BEAUTIFULSOUP4">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>
</tool_dependency>