changeset 0:86947a99997b draft

planemo upload for repository https://github.com/phac-nml/galaxy_tools/tree/master/packages/package_python_3_4_hyphy_python_0_1_3 commit e2554dc878f6abf1c02ed9e6e4f4440ed32b02aa-dirty
author nml
date Thu, 07 Jul 2016 12:43:17 -0400
parents
children 5c14a49141f0
files tool_dependencies.xml
diffstat 1 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Jul 07 12:43:17 2016 -0400
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="python" version="3.4">
+        <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="hyphy-python" version="0.1.3">
+        <install version="1.0">
+            <actions>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="20ecf5cd3c0e" name="package_python_3_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="python" version="3.4" />
+                    </repository>
+                </action>
+                <action type="shell_command">git clone https://github.com/veg/hyphy-python</action>
+                <action type="change_directory">hyphy-python</action>
+                <action type="shell_command">git checkout 0.1.3</action>
+                <action type="shell_command">git submodule update --init</action>
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
+                    python3 setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/pyhton</environment_variable>
+                    <environment_variable action="append_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_HYPHY_PYTHON">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="PATH_HYPHY_PYTHON">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="HYPHY_PYTHON_ROOT_DIR">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+This installs hyphy-python 0.1.3.
+        </readme>
+    </package>
+</tool_dependency>