changeset 2:acd114013251 draft

Uploaded the xml definition
author boris
date Wed, 29 May 2013 20:24:45 -0400
parents 176a474f53e1
children 6141e35a28c1
files tool_dependencies.xml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed May 29 20:24:45 2013 -0400
@@ -0,0 +1,22 @@
+<tool_dependency>
+    <package name="rpy2" version="2.2.6">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.6.tar.gz</action>
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
+                <action type="set_environment">
+                    <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable name="PYTHONPATH_NUMPY" action="set_to">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <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.
+                Python version 2.5 or greater, as well as R-2.8.0 or greater are required.
+                When compiling R from source, do not forget to specify –enable-R-shlib at the ./configure step.
+                gcc-4.4 is used for compiling the C parts on Linux.
+                If installing from a linux distribution, the Python-dev package will obviously be required to compile rpy2
+                On OS X, the XCode tools will be required in order to compile rpy2.</readme>
+    </package>
+</tool_dependency>
\ No newline at end of file