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">
|
|
7 <repository changeset_revision="516712b2f0cb" name="package_ghostscript_9_07" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9
|
|
10 <package name="package_weblogo" version="3.3">
|
|
11 <install version="1.0">
|
|
12 <actions>
|
|
13 <!-- populate the environment variables from the dependend repos -->
|
|
14 <action type="download_by_url">http://weblogo.googlecode.com/files/weblogo-3.3.tar.gz</action>
|
|
15
|
|
16 <action type="set_environment_for_install">
|
|
17 <repository changeset_revision="516712b2f0cb" name="package_ghostscript_9_07" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu/">
|
|
18 <package name="ghostscript" version="9.07" />
|
|
19 </repository>
|
|
20 <repository changeset_revision="796c0081adad" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu/">
|
|
21 <package name="numpy" version="1.7.1" />
|
|
22 </repository>
|
|
23 </action>
|
|
24 <!-- install weblogo -->
|
|
25 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
26 <action type="shell_command">export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY:$PYTHONPATH &&
|
|
27 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
28 <action type="set_environment">
|
|
29 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
30 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
31 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
32 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
33 <environment_variable action="set_to" name="WEBLOGO_PATH">$INSTALL_DIR/bin/weblogo</environment_variable>
|
|
34 </action>
|
|
35 </actions>
|
|
36 </install>
|
|
37 <readme>
|
|
38 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
|
|
39 while numpy compiles - especially if the ATLAS libraries are being installed - which is not at present.
|
|
40 </readme>
|
|
41 </package>
|
|
42 </tool_dependency>
|