view tool_dependencies.xml @ 56:d2fb88c1e866

fix interpreter setting
author Jan Kanis <jan.code@jankanis.nl>
date Mon, 26 May 2014 14:20:17 +0200
parents c0c4f52ca313
children 159989f6bfa6
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="cython" version="0.20.1">
    <repository name="package_cython_0_20_1" owner="iuc" prior_installation_required="True"
                toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="c3a8c46fcb97" />
  </package>

  <package name="libxml2" version="2.9.1">
    <repository name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True"
                toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="3af7ad13a6fb" />
  </package>

  <package name="libxslt" version="1.1.28">
    <repository name="package_libxslt_1_1_28" owner="devteam" prior_installation_required="True"
                toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="039b04adcfee" />
  </package>

  <package name="python3" version="3.4.1">
    <repository name="package_python3_4" owner="jankanis" prior_installation_required="True"
                toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="9dbfc4fcef0a" />
  </package>
  
  <package name="blast2html_venv" version="0.1">
    <install version="1.0">
      <actions>
        <action type="set_environment_for_install">
          <repository name="package_cython_0_20_1" owner="iuc"
                      toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="c3a8c46fcb97">
            <package name="cython" version="0.20.1" />
          </repository>
          <repository name="package_libxml2_2_9_1" owner="devteam"
                      toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="3af7ad13a6fb">
            <package name="libxml2" version="2.9.1" />
          </repository>
          <repository name="package_libxslt_1_1_28" owner="devteam"
                      toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="039b04adcfee">
            <package name="libxslt" version="1.1.28" />
          </repository>
          <repository name="package_python3_4" owner="jankanis"
		      toolshed="http://toolshed.g2.bx.psu.edu" changeset_revision="9dbfc4fcef0a">
            <package name="python3" version="3.4.1" />
          </repository>
        </action>
        
        <action type="shell_command">
          # Unset any saved environment settings from parent virtual
          # environments, e.g. for python 2 or if Galaxy itself is running
          # from within a virtual environment.
          unset _OLD_VIRTUAL_PATH; unset _OLD_VIRTUAL_PYTHONHOME
          pyvenv blast2html_venv
          . blast2html_venv/bin/activate
          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>
        </action>
      </actions>
    </install>
    <readme>A Python 3 virtual environment that includes the python packages blast2html depends on, which are lxml and jinja2.</readme>
  </package>

</tool_dependency>