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