annotate tool_dependencies.xml @ 19:a46e4b79b6b6 draft default tip

Uploaded
author boris
date Sun, 09 Jun 2013 18:06:45 -0400
parents 1b5bd31fcf2a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
cc1d274bf155 Uploaded
boris
parents:
diff changeset
1 <?xml version="1.0"?>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
2 <tool_dependency>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
3 <package name="readline" version="6.2">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
4 <repository changeset_revision="1301ec7705a8" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
cc1d274bf155 Uploaded
boris
parents:
diff changeset
5 </package>
18
1b5bd31fcf2a Uploaded
boris
parents: 17
diff changeset
6 <package name="ape" version="3.0-8">
1b5bd31fcf2a Uploaded
boris
parents: 17
diff changeset
7 <repository changeset_revision="60624d152d06" name="package_ape_3_0" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
16
cc1d274bf155 Uploaded
boris
parents:
diff changeset
8 </package>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
9 <package name="rpy2" version="2.2.6">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
10 <install version="1.0">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
11 <actions>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
12 <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.6.tar.gz</action>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
13 <action type="set_environment_for_install">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
14 <repository changeset_revision="1301ec7705a8" name="package_readline_6_2" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
15 <package name="readline" version="6.2" />
cc1d274bf155 Uploaded
boris
parents:
diff changeset
16 </repository>
18
1b5bd31fcf2a Uploaded
boris
parents: 17
diff changeset
17 <repository changeset_revision="60624d152d06" name="package_ape_3_0" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/">
1b5bd31fcf2a Uploaded
boris
parents: 17
diff changeset
18 <package name="ape" version="3.0-8" />
1b5bd31fcf2a Uploaded
boris
parents: 17
diff changeset
19 </repository>
16
cc1d274bf155 Uploaded
boris
parents:
diff changeset
20 </action>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
21 <action type="make_directory">$INSTALL_DIR/lib/python</action>
19
a46e4b79b6b6 Uploaded
boris
parents: 18
diff changeset
22 <action type="shell_command">export R_HOME=$R_HOME &amp;&amp; export R_LIBS=$R_LIBS &amp;&amp; export PATH=$PATH &amp;&amp;export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
16
cc1d274bf155 Uploaded
boris
parents:
diff changeset
23 <action type="set_environment">
cc1d274bf155 Uploaded
boris
parents:
diff changeset
24 <environment_variable action="set_to" name="R_HOME">$ENV[R_HOME]</environment_variable>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
25 <environment_variable action="set_to" name="R_LIBS">$ENV[R_LIBS]</environment_variable>
17
f7782dc74094 Uploaded
boris
parents: 16
diff changeset
26 <environment_variable action="set_to" name="PATH">$ENV[PATH]</environment_variable>
16
cc1d274bf155 Uploaded
boris
parents:
diff changeset
27 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
29 </action>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
30 </actions>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
31 </install>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
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.
cc1d274bf155 Uploaded
boris
parents:
diff changeset
33 Python version 2.5 or greater, as well as R-2.8.0 or greater are required.
cc1d274bf155 Uploaded
boris
parents:
diff changeset
34 When compiling R from source, do not forget to specify –enable-R-shlib at the ./configure step.
cc1d274bf155 Uploaded
boris
parents:
diff changeset
35 gcc-4.4 is used for compiling the C parts on Linux.
cc1d274bf155 Uploaded
boris
parents:
diff changeset
36 If installing from a linux distribution, the Python-dev package will obviously be required to compile rpy2
cc1d274bf155 Uploaded
boris
parents:
diff changeset
37 On OS X, the XCode tools will be required in order to compile rpy2.</readme>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
38 </package>
cc1d274bf155 Uploaded
boris
parents:
diff changeset
39 </tool_dependency>