changeset 86:3d75aedaa1b8 draft

Uploaded
author mzytnicki
date Tue, 23 Apr 2013 09:33:37 -0400
parents 25196d0e91d5
children 5f992d806833
files tool_dependencies.xml
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Apr 23 09:03:48 2013 -0400
+++ b/tool_dependencies.xml	Tue Apr 23 09:33:37 2013 -0400
@@ -1,18 +1,20 @@
 <?xml version="1.0"?>
 <tool_dependency>
 	<set_environment version="1.0">
-		<environment_variable name="PYTHON_PATH" action="prepend_to">$INSTALL_DIR/</environment_variable>
-		<environment_variable name="PYTHON_PATH" action="prepend_to">$INSTALL_DIR/s_mart</environment_variable>
+		<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/</environment_variable>
+		<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/s_mart</environment_variable>
 	</set_environment>
-	<install version="1.0">
-		<actions>
-			<action type="set_environment">
-				<environment_variable name="PYTHON_PATH" action="prepend_to">$INSTALL_DIR/</environment_variable>
-			</action>
-			<action type="shell_command">echo 'install.packages("RColorBrewer", repos = "http://cran.us.r-project.org", dependencies = TRUE)' | R CMD BATCH</action>
-			<action type="shell_command">echo 'install.packages("Hmisc", repos = "http://cran.us.r-project.org", dependencies = TRUE)' | R CMD BATCH</action>
-		</actions>
-	</install>
+	<package name="s_mart" version="1.0">
+		<install version="1.0">
+			<actions>
+				<action type="set_environment">
+					<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR</environment_variable>
+				</action>
+				<action type="shell_command">echo 'install.packages("RColorBrewer", repos = "http://cran.us.r-project.org", dependencies = TRUE)' | R CMD BATCH</action>
+				<action type="shell_command">echo 'install.packages("Hmisc", repos = "http://cran.us.r-project.org", dependencies = TRUE)' | R CMD BATCH</action>
+			</actions>
+		</install>
+	</package>
 	<readme>
 		S-MART needs R, and supposes you have it installed.  It also installs 2 R packages: RColorBrewer and Hmisc (if you do not already have them).
 	</readme>