Repository 'blast2html'
hg clone https://toolshed.g2.bx.psu.edu/repos/jankanis/blast2html

Changeset 58:39df29f647e8 (2014-05-27)
Previous changeset 57:159989f6bfa6 (2014-05-26) Next changeset 59:f611cf649c90 (2014-05-27)
Commit message:
set other environment variables as well
modified:
blast2html.xml
tool_dependencies.xml
b
diff -r 159989f6bfa6 -r 39df29f647e8 blast2html.xml
--- a/blast2html.xml Mon May 26 15:34:54 2014 +0200
+++ b/blast2html.xml Tue May 27 12:45:50 2014 +0200
b
@@ -3,8 +3,6 @@
     <description>Convert BLAST XML to HTML</description>
     
     <requirements>
-      <requirement type="package" version="v0.0.18">blast_datatypes</requirement>
-      <requirement name="package" version="3.4.1">python3</requirement>
       <requirement name="package" version="0.1">blast2html_venv</requirement>
     </requirements>
     
b
diff -r 159989f6bfa6 -r 39df29f647e8 tool_dependencies.xml
--- a/tool_dependencies.xml Mon May 26 15:34:54 2014 +0200
+++ b/tool_dependencies.xml Tue May 27 12:45:50 2014 +0200
[
@@ -39,12 +39,15 @@
           # from within a virtual environment.
           unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME
           pyvenv blast2html_venv
-          . blast2html_venv/bin/activate
-          pip3 install lxml jinja2
+          blast2html_venv/bin/pip3 install lxml jinja2
         </action>
         
         <action type="set_environment">
-          <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python3.4/site-packages</environment_variable>
+   <!-- Remove any incoming PYTHONPATH elements from Galaxy's own environment -->
+          <environment_variable name="PYTHONPATH" action="set_to">$INSTALL_DIR/blast2html_venv/lib/python3.4/site-packages</environment_variable>
+          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/blast2html_venv/bin</environment_variable>
+          <environment_variable name="PYTHONHOME" action="set_to"></environment_variable>
+   <!-- To find shared libraries such as libssl or libxml2 -->
           <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$ENV[LD_LIBRARY_PATH]</environment_variable>
         </action>
       </actions>