changeset 4:67bd9d4740e9 draft

Uploaded updated XML with proper repository installation dependencies declaration
author boris
date Tue, 04 Jun 2013 00:01:23 -0400
parents 6141e35a28c1
children e0cae05d5ff8
files tool_dependencies.xml
diffstat 1 files changed, 31 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue Jun 04 00:01:23 2013 -0400
@@ -0,0 +1,31 @@
+<tool_dependency>
+    <package name="R" version="2.15.0">
+        <repository changeset_revision="0eb8a25c2c00" name="package_r_2_15" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/"/>
+    </package>
+    <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="set_environment_for_install">
+                    <repository changeset_revision="0eb8a25c2c00" name="package_r_2_15" owner="boris" toolshed="http://testtoolshed.g2.bx.psu.edu/">
+                        <package name="R" version="2.15.0"/>
+                    </repository>
+                </action>
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
+                export R_HOME=$R_HOME &amp;&amp; export R_LIBS=$R_LIBS &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="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