changeset 19:1cae026e4dcd

So. Much. RAGE.
author Catherine Wise <catherine.wise@csiro.au>
date Fri, 13 Dec 2013 14:39:58 +1100
parents f479dc64ac7d
children b94a8f55b1da
files tool_dependencies.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Dec 13 14:04:50 2013 +1100
+++ b/tool_dependencies.xml	Fri Dec 13 14:39:58 2013 +1100
@@ -15,7 +15,12 @@
 passlib
                 </action>
                 <action type="download_file">https://tstest-kms.it.csiro.au/truststore/downloads/PythonTrustStore-0.2.0.tar.gz</action>
-                <action type="shell_command">pip install PythonTrustStore-0.2.0.tar.gz</action>
+                <action type="shell_command">pip install --install-option="--home=$INSTALL_DIR" --install-option="--install-scripts=$INSTALL_DIR/bin" PythonTrustStore-0.2.0.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>