3
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
|
4 <repository changeset_revision="796c0081adad" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="ghostscript" version="9.07">
|
4
|
7 <repository name="package_ghostscript_9_07" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
3
|
8 </package>
|
|
9 <package name="package_weblogo" version="3.3">
|
|
10 <install version="1.0">
|
|
11 <actions>
|
|
12 <!-- populate the environment variables from the dependend repos -->
|
|
13 <action type="download_by_url">http://weblogo.googlecode.com/files/weblogo-3.3.tar.gz</action>
|
|
14
|
|
15 <action type="set_environment_for_install">
|
5
|
16 <repository name="package_ghostscript_9_07" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
3
|
17 <package name="ghostscript" version="9.07" />
|
|
18 </repository>
|
5
|
19 <repository changeset_revision="796c0081adad" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
3
|
20 <package name="numpy" version="1.7.1" />
|
|
21 </repository>
|
|
22 </action>
|
|
23 <!-- install weblogo -->
|
|
24 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
25 <action type="shell_command">export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY:$PYTHONPATH &&
|
|
26 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
27 <action type="set_environment">
|
|
28 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
29 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
30 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
31 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
32 <environment_variable action="set_to" name="WEBLOGO_PATH">$INSTALL_DIR/bin/weblogo</environment_variable>
|
|
33 </action>
|
|
34 </actions>
|
|
35 </install>
|
|
36 <readme>
|
|
37 weblogo3 is a python version of the old weblogo2.8 or so. Requires numpy and ghostscript so these are installed if not already on your system - if that happens, please be patient
|
|
38 while numpy compiles - especially if the ATLAS libraries are being installed - which is not at present.
|
|
39 </readme>
|
|
40 </package>
|
|
41 </tool_dependency>
|