changeset 4:9cc341926a80

Activate virtualenv.
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 07 May 2015 14:54:00 +1000
parents 29235c74b0e8
children 7cd5902ce14b
files tool_dependencies.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu May 07 14:45:01 2015 +1000
+++ b/tool_dependencies.xml	Thu May 07 14:54:00 2015 +1000
@@ -12,11 +12,12 @@
 boto
 simplejson
 passlib
-pycrypto >= 2.6
+pycrypto
 psycopg2
                 </action>
                 <action type="download_file">https://tstest-kms.it.csiro.au/truststore/downloads/PythonTrustStore-0.5.tar.gz</action>
-                <action type="shell_command">$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="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>