view tool_dependencies.xml @ 1:4b020aac62fe draft default tip

Uploaded
author qfab
date Tue, 02 Sep 2014 03:25:11 -0400
parents 318cc0e34b70
children
line wrap: on
line source

<?xml version="1.0"?>
  <tool_dependency>
    <package name="opal" version="2.4.1">
    <install version="1.0">
    <actions>
      <action type="download_by_url">http://sourceforge.net/projects/opaltoolkit/files/opal-python/2.4/opal-py-2.4.1.tar.gz/download</action>
	  <action type="move_directory_files">
        <source_directory>.</source_directory>
        <destination_directory>$INSTALL_DIR</destination_directory>
      </action>
      <action type="make_directory">$INSTALL_DIR/prereqs/ZSI-lib</action>
      <action type="shell_command">
      export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/prereqs/ZSI-lib &amp;&amp; 
      easy_install --install-dir $INSTALL_DIR/prereqs/ZSI-lib --script-dir $INSTALL_DIR/prereqs/ZSI-lib $INSTALL_DIR/prereqs/ZSI-2.1_a2-py2.6.egg
      </action>
      <action type="set_environment">
      <environment_variable action="set_to" name="PYTHONPATH_OPAL">$INSTALL_DIR</environment_variable>
      <environment_variable action="set_to" name="PYTHONPATH_ZSI">$INSTALL_DIR/prereqs/ZSI-lib</environment_variable>
      </action>
    </actions>
    </install>
    <readme>Meme Web Service requires a ZSI and Opal Libraries.</readme>
    </package>
  </tool_dependency>