annotate tool_dependencies.xml @ 0:5d5355863287 draft

Uploaded
author ulfschaefer
date Tue, 15 Dec 2015 11:08:33 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
1 <?xml version="1.0"?>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
2 <tool_dependency>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
3 <package name="python" version="2.7.10">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
4 <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
5 </package>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
6 <package name="numpy" version="1.9">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
7 <repository changeset_revision="794f5cf3bb5d" name="package_python_2_7_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
8 </package>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
9 <package name="biopython" version="1.66">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
10 <readme>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
11 This Galaxy Tool Shed package installs Biopython from source, having
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
12 first installed NumPy which is a build time depencency. This requires
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
13 and assumes a standard C compiler is already installed, along with
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
14 the Python header files.
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
15
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
16 Development of this dependency definition is being done here on GitHub:
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
17 https://github.com/biopython/galaxy_packages
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
18
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
19 The PYTHONPATH for biopython can be accessed through PYTHONPATH_BIOPYTHON.
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
20 </readme>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
21 <install version="1.0">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
22 <actions>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
23 <action type="download_by_url">https://pypi.python.org/packages/source/b/biopython/biopython-1.66.tar.gz</action>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
24 <action type="set_environment_for_install">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
25 <repository changeset_revision="794f5cf3bb5d" name="package_python_2_7_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
26 <package name="numpy" version="1.9" />
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
27 </repository>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
28 </action>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
29 <action type="make_directory">$INSTALL_DIR/lib/python</action>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
30 <action type="shell_command">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
31 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
32 export PATH=$PATH:$PATH_NUMPY &amp;&amp;
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
33 export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &amp;&amp;
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
34 python setup.py install --install-lib $INSTALL_DIR/lib/python
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
35 </action>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
36 <action type="set_environment">
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
37 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
38 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
39 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
40 <environment_variable action="set_to" name="PYTHONPATH_BIOPYTHON">$INSTALL_DIR/lib/python</environment_variable>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
41 </action>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
42 </actions>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
43 </install>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
44 </package>
5d5355863287 Uploaded
ulfschaefer
parents:
diff changeset
45 </tool_dependency>