|
0
|
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>
|
|
1
|
9 <package name="R" version="2.15.0">
|
|
|
10 <repository changeset_revision="eca882dd6393" name="package_r_2_15_0" owner="boris" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
|
11 </package>
|
|
0
|
12 <package name="rpy2" version="2.2.6">
|
|
|
13 <install version="1.0">
|
|
|
14 <actions>
|
|
|
15 <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.6.tar.gz</action>
|
|
|
16 <action type="set_environment_for_install">
|
|
1
|
17 <repository changeset_revision="ff20613e6fee" name="package_readline_6_2" owner="boris" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
0
|
18 <package name="readline" version="6.2" />
|
|
|
19 </repository>
|
|
1
|
20 <repository changeset_revision="423395d792df" name="package_ape_3_0" owner="boris" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
0
|
21 <package name="ape" version="3.0-8" />
|
|
|
22 </repository>
|
|
1
|
23 <repository changeset_revision="eca882dd6393" name="package_r_2_15_0" owner="boris" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
|
24 <package name="R" version="2.15.0" />
|
|
|
25 </repository>
|
|
0
|
26 </action>
|
|
|
27 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
1
|
28 <action type="shell_command">
|
|
2
|
29 export PYTHONPATH=$INSTALL_DIR/lib/python &&
|
|
|
30 export CFLAGS="-I$READLINE_INCLUDES" &&
|
|
|
31 export LDFLAGS="-L$READLINE_LIBS" &&
|
|
1
|
32 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin
|
|
|
33 </action>
|
|
0
|
34 <action type="set_environment">
|
|
|
35 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
36 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
37 </action>
|
|
|
38 </actions>
|
|
|
39 </install>
|
|
|
40 <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.
|
|
|
41 Python version 2.5 or greater, as well as R-2.8.0 or greater are required.
|
|
|
42 When compiling R from source, do not forget to specify –enable-R-shlib at the ./configure step.
|
|
|
43 gcc-4.4 is used for compiling the C parts on Linux.
|
|
|
44 If installing from a linux distribution, the Python-dev package will obviously be required to compile rpy2
|
|
|
45 On OS X, the XCode tools will be required in order to compile rpy2.</readme>
|
|
|
46 </package>
|
|
|
47 </tool_dependency>
|