view tool_dependencies.xml @ 1:93036b19115a draft default tip

planemo upload for repository https://github.com/phac-nml/galaxy_tools/tree/master/packages/package_python_3_4_six_1_10_0 commit e2554dc878f6abf1c02ed9e6e4f4440ed32b02aa
author nml
date Thu, 07 Jul 2016 11:12:09 -0400
parents bd597750a846
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
        <package name="python" version="3.4">
          <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
        </package>
        <package name="six" version="1.10.0">
            <install version="1.0">
                <actions>
                    <action type="download_by_url">https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz</action>
                    <action type="set_environment_for_install">
                        <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                            <package name="python" version="3.4" />
                        </repository>
                    </action>
                    <action type="make_directory">$INSTALL_DIR/lib/python</action>
                    <action type="shell_command">
                        export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR &amp;&amp;
                        export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
                        python3 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="set_to" name="PYTHONPATH_SIX">$INSTALL_DIR/lib/python</environment_variable>
                        <environment_variable action="set_to" name="SIX_ROOT_DIR">$INSTALL_DIR</environment_variable>
                    </action>
                </actions>
            </install>
            <readme>Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided.</readme>
        </package>
</tool_dependency>