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