0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
|
4 <repository name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="matplotlib" version="1.2.1">
|
|
7 <repository name="package_matplotlib_1_2" owner="bgruening" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <!-- TODO reportlab -> Python Imaging Library
|
|
10 <package name="reportlab" version="1.2.1">
|
|
11 <repository name="package_reportlab_1_2" owner="bgruening" prior_installation_required="True" />
|
|
12 </package>
|
|
13 -->
|
|
14 <package name="biopython" version="1.61">
|
|
15 <install version="1.0">
|
|
16 <actions>
|
|
17 <action type="download_by_url">https://pypi.python.org/packages/source/b/biopython/biopython-1.61.tar.gz</action>
|
|
18 <action type="set_environment_for_install">
|
|
19 <repository name="package_matplotlib_1_2" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
20 <package name="matplotlib" version="1.2.1" />
|
|
21 </repository>
|
|
22 <repository name="package_numpy_1_7" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
23 <package name="numpy" version="1.7.1" />
|
|
24 </repository>
|
|
25 </action>
|
|
26
|
|
27 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
28 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
29 export PATH=$PATH:$PATH_NUMPY &&
|
|
30 export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY:$PYTHONPATH_MATPLOTLIB &&
|
|
31 python setup.py install --home $INSTALL_DIR</action>
|
|
32 <action type="set_environment">
|
|
33 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
34
|
|
35 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
36 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
37 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_MATPLOTLIB]</environment_variable>
|
|
38
|
|
39 <environment_variable action="set_to" name="PYTHONPATH_BIOPYTHON">$INSTALL_DIR/lib/python</environment_variable>
|
|
40 </action>
|
|
41 </actions>
|
|
42 </install>
|
|
43 <readme>The PYTHONPATH for biopython can be accessed through PYTHONPATH_BIOPYTHON.</readme>
|
|
44 </package>
|
|
45 </tool_dependency>
|