Mercurial > repos > boris > package_rpy2_2_2
comparison tool_dependencies.xml @ 0:31bb8a2b748e draft
Uploaded xml
author | boris |
---|---|
date | Mon, 03 Feb 2014 12:59:12 -0500 |
parents | |
children | 58279878f849 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:31bb8a2b748e |
---|---|
1 <?xml version="1.0"?> | |
2 <tool_dependency> | |
3 <package name="readline" version="6.2"> | |
4 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> | |
5 </package> | |
6 <package name="ape" version="3.0-8"> | |
7 <repository changeset_revision="423395d792df" name="package_ape_3_0" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> | |
8 </package> | |
9 <package name="rpy2" version="2.2.6"> | |
10 <install version="1.0"> | |
11 <actions> | |
12 <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.6.tar.gz</action> | |
13 <action type="set_environment_for_install"> | |
14 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/"> | |
15 <package name="readline" version="6.2" /> | |
16 </repository> | |
17 <repository changeset_revision="423395d792df" name="package_ape_3_0" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/"> | |
18 <package name="ape" version="3.0-8" /> | |
19 </repository> | |
20 </action> | |
21 <action type="make_directory">$INSTALL_DIR/lib/python</action> | |
22 <action type="shell_command">export R_HOME=$R_HOME && export R_LIBS=$R_LIBS && export PATH=$PATH &&export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> | |
23 <action type="set_environment"> | |
24 <environment_variable action="prepend_to" name="R_HOME">$ENV[R_HOME]</environment_variable> | |
25 <environment_variable action="prepend_to" name="R_LIBS">$ENV[R_LIBS]</environment_variable> | |
26 <environment_variable action="prepend_to" name="PATH">$ENV[PATH]</environment_variable> | |
27 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> | |
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | |
29 </action> | |
30 </actions> | |
31 </install> | |
32 <readme>In order to upgrade one will have to first remove older installed rpy2 packages then and only then install the recent version of rpy2 wished. | |
33 Python version 2.5 or greater, as well as R-2.8.0 or greater are required. | |
34 When compiling R from source, do not forget to specify –enable-R-shlib at the ./configure step. | |
35 gcc-4.4 is used for compiling the C parts on Linux. | |
36 If installing from a linux distribution, the Python-dev package will obviously be required to compile rpy2 | |
37 On OS X, the XCode tools will be required in order to compile rpy2.</readme> | |
38 </package> | |
39 </tool_dependency> |