changeset 3:af4c6d114047 draft

Uploaded
author iuc
date Thu, 16 Jan 2014 16:48:26 -0500
parents 1bb575b6c07c
children 9c88d83c2690
files tool_dependencies.xml
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Jan 16 15:52:08 2014 -0500
+++ b/tool_dependencies.xml	Thu Jan 16 16:48:26 2014 -0500
@@ -12,7 +12,27 @@
     <package name="macs2" version="2.0.10.2">
         <install version="1.0">
             <actions>
-                <action type="setup_virtualenv">MACS2==2.0.10.07132012</action>
+                <action type="download_by_url">https://pypi.python.org/packages/source/M/MACS2/MACS2-2.0.10.07132012.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="numpy" version="1.7.1" />
+                    </repository>
+                    <repository changeset_revision="3c1bf479158c" name="package_scipy_0_12" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="scipy" version="0.12" />
+                    </repository>
+                </action>
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
+                    python setup.py install --install-lib $INSTALL_DIR/lib/python
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_MACS2">$INSTALL_DIR/lib/python</environment_variable>
+                    </action>
             </actions>
         </install>
         <readme>Macs2 installation instructions. MACS2 can be found at https://github.com/taoliu/MACS</readme>