0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.8.1">
|
|
4 <repository changeset_revision="36659940cecb" name="package_numpy_1_8" owner="qfab" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu/" />
|
|
5 </package>
|
|
6 <package name="pycogent" version="1.5.2">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://sourceforge.net/projects/pycogent/files/PyCogent/1.5.2/PyCogent-1.5.2.tgz/download</action>
|
|
10 <action type="make_directory">$INSTALL_DIR/cogent</action>
|
|
11 <action type="set_environment_for_install">
|
|
12 <repository changeset_revision="36659940cecb" name="package_numpy_1_8" owner="qfab" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu/" >
|
|
13 <package name="numpy" version="1.8.1" />
|
|
14 </repository>
|
|
15 <action type="shell_command">
|
|
16 python -c "import numpy; print numpy.version.version" && env >> /opt/galaxy/log.txt:
|
|
17 </action>
|
|
18 </action>
|
|
19 <action type="shell_command">
|
|
20 python setup.py build_ext -if
|
|
21 </action>
|
|
22 <action type="move_directory_files">
|
|
23 <source_directory>cogent</source_directory>
|
|
24 <destination_directory>$INSTALL_DIR/cogent/</destination_directory>
|
|
25 </action>
|
|
26 <action type="set_environment">
|
|
27 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
|
|
28 <environment_variable action="set_to" name="PATH_PYCOGENT">$INSTALL_DIR</environment_variable>
|
|
29 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
30 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
31 </action>
|
|
32 </actions>
|
|
33 </install>
|
|
34 <readme>It is required to install a numpy python package (here numpy python package version 1.8.1) before installing the pycogent package.</readme>
|
|
35 </package>
|
|
36 </tool_dependency>
|