view tool_dependencies.xml @ 27:901b359bb74a

We are getting closer.
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 14 May 2015 15:36:42 +1000
parents f4585bf75a8a
children a325622e2277
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.1.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>