Mercurial > repos > fubar > package_weblogo_3_3
changeset 0:e7de437152d5 draft
initial commit
author | fubar |
---|---|
date | Tue, 24 Sep 2013 19:44:19 -0400 (2013-09-24) |
parents | |
children | 42e2f9e2c587 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 39 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue Sep 24 19:44:19 2013 -0400 @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="numpy" version="1.7"> + <repository name="package_numpy_1_7" owner="blankenberg" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="ghostscript" version="9.07"> + <repository name="package_ghostscript_9_07" owner="fubar" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="package_weblogo" version="3.3"> + <install version="1.0"> + <actions> + <!-- populate the environment variables from the dependend repos --> + <action type="set_environment_for_install"> + <repository name="package_ghostscript_9_07" owner="fubar" toolshed="http://testtoolshed.g2.bx.psu.edu/"> + <package name="ghostscript" version="9.07" /> + </repository> + <repository name="package_numpy_1_7" owner="blankenberg" toolshed="http://testtoolshed.g2.bx.psu.edu/"> + <package name="numpy" version="1.7 /> + </repository> + </action> + <!-- install weblogo --> + <action type="download_by_url">http://weblogo.googlecode.com/files/weblogo-3.3.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="shell_command">echo "### PYTHONPATH = $PYTHONPATH, PYTHONPATH_NUMPY = $PYTHONPATH_NUMPY"</action> + <action type="shell_command">export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY:$PYTHONPATH && + python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> + <action type="set_environment"> + <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable> + <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable> + <environment_variable action="set_to" name="PYTHONPATH_WEBLOGO">$INSTALL_DIR/lib/python</environment_variable> + </action> + </actions> + </install> + <readme> + </readme> + </package> +</tool_dependency> +