view tool_dependencies.xml @ 7:738e7d34477d draft

Uploaded
author bgruening
date Fri, 02 Aug 2013 13:16:00 -0400
parents 0c48b2c85c3c
children ef3a897cf4f2
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="R_3_0_1" version="3.0.1">
        <repository changeset_revision="bae5c9880b71" name="package_r_3_0_1" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="readline" version="6.2">
        <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" 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="b936498ae90c" name="package_readline_6_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="readline" version="6.2" />
                    </repository>
                    <repository changeset_revision="bae5c9880b71" name="package_r_3_0_1" owner="bgruening" 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>