view tool_dependencies.xml @ 45:31838e0ecf45 default tip

Fixes.
author Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au>
date Fri, 26 Jun 2015 10:24:40 +1000
parents 5589d367885e
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="py_ts" version="0.5.8">
        <readme>
            I should write this.
        </readme>
        <install version="1.0">
            <actions>
                <action type="setup_virtualenv">
requests
requests-oauthlib
boto
passlib
pycrypto
                </action>
                <action type="download_file">https://tstest-kms.it.csiro.au/truststore/downloads/PythonTrustStore-0.5.8.tar.gz</action>
                <action type="shell_command">.  $INSTALL_DIR/venv/bin/activate;
$INSTALL_DIR/venv/bin/pip install --install-option="--home=$INSTALL_DIR" --install-option="--install-scripts=$INSTALL_DIR/bin" PythonTrustStore-0.5.8.tar.gz</action>
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
     </package>
</tool_dependency>