changeset 87:62aac637dd6c py2.6

(attempt to) get lxml install working
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 24 Jun 2014 16:46:18 +0200
parents 463744384507
children 24deecb59ce9 844d121d0485
files tool_dependencies.xml
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Jun 24 11:20:24 2014 +0200
+++ b/tool_dependencies.xml	Tue Jun 24 16:46:18 2014 +0200
@@ -25,16 +25,19 @@
         </action>
 
 	<action type="setup_virtualenv">
-	  lxml==3.3.5
 	  jinja2==2.7.3
 	  six==1.7.2
 	  argparse==1.2.1
 	</action>
-        
+
+	<!-- install lxml manually, as the setup_virtualenv action does not include the environment
+	     from set_environment_for_install but shell_command does -->
+	<action type="shell_command">
+	  $INSTALL_DIR/venv/bin/pip install lxml==3.3.5
+	</action>
+	
         <action type="set_environment">
-          <!-- To find shared libraries such as libssl or libxml2 -->
-          <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$ENV[LD_LIBRARY_PATH]</environment_variable>
-          <!-- libxml2 doesn't actually export its own LD_LIBRARY_PATH -->
+          <!-- add libxml2 library path so the runtime can find the shared library -->
           <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$ENV[LIBXML_ROOT_PATH]/lib</environment_variable>
         </action>
       </actions>