view tool_dependencies.xml @ 14:a7496749af53 draft

Uploaded
author cpalm
date Mon, 19 Aug 2013 18:51:31 -0400
parents d44d8cb65589
children a5d073f84669
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="requests" version="1.2.3">
        <install version="1.0">
            <actions>
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="make_directory">$INSTALL_DIR/bin</action>
                <action type="download_by_url"   target_filename="requests-1.2.3.tar.gz">https://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz</action>
                <action type="shell_command">python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>