Mercurial > repos > mzytnicki > s_mart
changeset 122:3124f308a0b9 draft
Uploaded
author | mzytnicki |
---|---|
date | Wed, 24 Apr 2013 09:09:46 -0400 |
parents | 7fb4ead0dca4 |
children | 454ebc43a1c7 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed Apr 24 08:18:09 2013 -0400 +++ b/tool_dependencies.xml Wed Apr 24 09:09:46 2013 -0400 @@ -1,17 +1,17 @@ <?xml version="1.0"?> <tool_dependency> - <package name="numpy" version="1.7.1"> + <set_environment version="1.0"> + <environment_variable name="PYTHONPATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable> + </set_environment> + <package name="R_PACKAGES" version="1.0"> <install version="1.0"> <actions> - <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action> - <action type="make_directory">$INSTALL_DIR/lib/python</action> - <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> - <action type="set_environment"> - <environment_variable name="PYTHONPATH" action="set_to">$INSTALL_DIR/lib/python</environment_variable> - <environment_variable name="PATH" action="set_to">$INSTALL_DIR/bin</environment_variable> - </action> + <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if("RColorBrewer" %in% rownames(installed.packages()) == FALSE){install.packages("RColorBrewer", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> + <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if("Hmisc" %in% rownames(installed.packages()) == FALSE){install.packages("Hmisc", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> </actions> </install> - <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran).</readme> - </package> + <readme> +R "ColorBrewer" and "HMisc" packages are compulsory for S-MART + </readme> + </package> </tool_dependency>