comparison tool_dependencies.xml @ 58:39df29f647e8

set other environment variables as well
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 27 May 2014 12:45:50 +0200
parents 159989f6bfa6
children cd31e2fb5f22
comparison
equal deleted inserted replaced
57:159989f6bfa6 58:39df29f647e8
37 # Unset any saved environment settings from parent virtual 37 # Unset any saved environment settings from parent virtual
38 # environments, e.g. for python 2 or if Galaxy itself is running 38 # environments, e.g. for python 2 or if Galaxy itself is running
39 # from within a virtual environment. 39 # from within a virtual environment.
40 unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME 40 unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME
41 pyvenv blast2html_venv 41 pyvenv blast2html_venv
42 . blast2html_venv/bin/activate 42 blast2html_venv/bin/pip3 install lxml jinja2
43 pip3 install lxml jinja2
44 </action> 43 </action>
45 44
46 <action type="set_environment"> 45 <action type="set_environment">
47 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python3.4/site-packages</environment_variable> 46 <!-- Remove any incoming PYTHONPATH elements from Galaxy's own environment -->
47 <environment_variable name="PYTHONPATH" action="set_to">$INSTALL_DIR/blast2html_venv/lib/python3.4/site-packages</environment_variable>
48 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/blast2html_venv/bin</environment_variable>
49 <environment_variable name="PYTHONHOME" action="set_to"></environment_variable>
50 <!-- To find shared libraries such as libssl or libxml2 -->
48 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$ENV[LD_LIBRARY_PATH]</environment_variable> 51 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$ENV[LD_LIBRARY_PATH]</environment_variable>
49 </action> 52 </action>
50 </actions> 53 </actions>
51 </install> 54 </install>
52 <readme>A Python 3 virtual environment that includes the python packages blast2html depends on, which are lxml and jinja2.</readme> 55 <readme>A Python 3 virtual environment that includes the python packages blast2html depends on, which are lxml and jinja2.</readme>