annotate tool_dependencies.xml @ 0:a42f244cce44 draft

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