view tool_dependencies.xml @ 0:2a996fea49a3

Initial.
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 07 May 2015 12:34:06 +1000
parents
children e18697164cb4
line wrap: on
line source

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