view tool_dependencies.xml @ 8:ef3a897cf4f2 draft

Uploaded
author bgruening
date Mon, 20 Jan 2014 15:08:06 -0500
parents 738e7d34477d
children 726bdd46a242
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="R_3_0_1" version="3.0.1">
        <repository changeset_revision="0a395bcd7efd" name="package_r_3_0_1" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="readline" version="6.2">
        <repository changeset_revision="9f3610d5a25b" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="rpy2_2_3_6" version="2.3.6">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.3.6.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="9f3610d5a25b" name="package_readline_6_2" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="readline" version="6.2" />
                    </repository>
                    <repository changeset_revision="0a395bcd7efd" name="package_r_3_0_1" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="R_3_0_1" version="3.0.1" />
                    </repository>
                </action>

                <action type="shell_command">
                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                    export LDFLAGS=-L$READLINE_LIB_PATH &amp;&amp; 
                    export CPPFLAGS=-I$READLINE_INCLUDE_PATH &amp;&amp; 
                    python setup.py build --r-home $R_HOME --r-home-lib $R_HOME/lib install --install-lib $INSTALL_DIR/lib/python
                </action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
        <readme>rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface to R, a proposed high-level interface, including wrappers to graphical libraries, as well as R-like structures and functions.
        http://rpy.sourceforge.net/rpy2.html
        </readme>
    </package>
</tool_dependency>