view tool_dependencies.xml @ 27:6393882b5bff draft

Uploaded
author cpalm
date Tue, 20 Aug 2013 11:11:09 -0400
parents 9e8149cb0ba4
children 7d1c17ceb5e5
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="download_by_url" target_filename="requests-1.2.3" >https://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz</action>
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="make_directory">$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>
                <action type="shell_command">python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>