diff tool_dependencies.xml @ 0:26f7b1d72d3c

Imported from capsule None
author jjohnson
date Tue, 16 Sep 2014 13:35:23 -0400
parents
children 1874a464e5d6
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue Sep 16 13:35:23 2014 -0400
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="numpy" version="1.7.1">
+      <repository name="package_numpy_1_7" owner="jjohnson" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="beta" version="1.0.6">
+      <install version="1.0">
+          <actions>
+              <action type="download_by_url">http://sourceforge.net/projects/cistromebetadist/files/BETA_1.0.6.zip</action>
+                <action type="set_environment_for_install">
+                  <repository name="package_numpy_1_7" owner="jjohnson" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                      <package name="numpy" version="1.7.1" />
+                    </repository>
+                </action>
+                <action type="shell_command">
+                        python setup.py build &amp;&amp; find * -type f  &amp;&amp; mv build/scripts-* build/bin
+                    </action>
+                <action type="move_directory_files">
+                  <source_directory>build</source_directory>
+                    <destination_directory>$INSTALL_DIR</destination_directory>
+                </action>
+                <action type="set_environment">
+                  <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="BETA_LIB_PATH">$INSTALL_DIR/lib</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            Compiling BETA  requires a C compiler (typically gcc). 
+            The PYTHONPATH for scikit-learn can be accessed through PYTHONPATH_BETA.
+            
+            </readme>
+    </package>
+</tool_dependency>