changeset 118:aaacfb5dd361 draft

Uploaded
author mzytnicki
date Wed, 24 Apr 2013 08:03:32 -0400
parents c1acfc0abcd1
children 5d1727bae7be
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:03:11 2013 -0400
+++ b/tool_dependencies.xml	Wed Apr 24 08:03:32 2013 -0400
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <tool_dependency>
-    <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">
+	<package name="numpy" version="1.7.1">
 		<install version="1.0">
 			<actions>
-				<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>
+				<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="append_to">$INSTALL_DIR/lib/python</environment_variable>
+					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+				</action>
 			</actions>
 		</install>
-		<readme>
-R "ColorBrewer" and "HMisc" packages are compulsory for S-MART
-		</readme>
-    </package>
+		<readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran).</readme>
+	</package>
 </tool_dependency>