view tool_dependencies.xml @ 10:16b0ceecf1f7

* Open in new window/tab * Apparently URL has to be capitalised (why... who knows, there's no docs).
author Catherine Wise <catherine.wise@csiro.au>
date Wed, 13 May 2015 08:47:13 +1000
parents 0f2a5664c9eb
children 406690068ab6
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="py_ts" version="0.5.1">
        <readme>
            I should write this.
        </readme>
        <install version="1.0">
            <actions>
                <action type="setup_virtualenv">
requests
requests-oauthlib
boto
simplejson
passlib
pycrypto
psycopg2
                </action>
                <action type="download_file">https://tstest-kms.it.csiro.au/truststore/downloads/PythonTrustStore-0.5.1.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.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>