view tool_dependencies.xml @ 0:07fda3da679b

init
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 21 May 2015 08:34:17 +1000
parents
children 6e74f34397f1
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="py_ts" version="0.5.4">
        <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.4.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.4.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>