diff tool_dependencies.xml @ 3:1979b0ff1d00 draft

planemo upload for repository https://github.com/phac-nml/galaxy_tools/tree/master/packages/package_python_3_4_hppy_0_9_6 commit e2554dc878f6abf1c02ed9e6e4f4440ed32b02aa-dirty
author nml
date Thu, 07 Jul 2016 13:12:38 -0400
parents 3a5a3720d965
children a3569ef6d0ff
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Jul 07 12:54:06 2016 -0400
+++ b/tool_dependencies.xml	Thu Jul 07 13:12:38 2016 -0400
@@ -1,32 +1,49 @@
 <?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">
-          <repository changeset_revision="86947a99997b" name="package_python_3_4_hyphy_python_0_1_3" owner="nml" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
-        </package>
-        <package name="hppy" version="0.9.6">
-            <install version="1.0">
-                <actions>
-                    <action type="setup_virtualenv">https://pypi.python.org/packages/source/f/fakemp/fakemp-0.9.1.tar.gz</action>
-                    <action type="set_environment_for_install">
-                        <repository changeset_revision="86947a99997b" name="package_python_3_4_hyphy_python_0_1_3" owner="nml" toolshed="https://toolshed.g2.bx.psu.edu">
-                            <package name="hyphy-python" version="0.1.3" />
-                        </repository>
-                        <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="make_directory">$INSTALL_DIR/lib/python</action>
-                    <action type="setup_virtualenv">https://github.com/veg/hppy/archive/0.9.6.tar.gz</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_HYPHY_PYTHON]</environment_variable>
-                      <environment_variable action="append_to" name="PYTHONPATH_HPPY">$INSTALL_DIR/lib/python</environment_variable>
-                    </action>
-                </actions>
-            </install>
-            <readme>hppy from https://github.com/veg/hppy</readme>
-        </package>
+    <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="cython" version="0.23.4">
+        <repository changeset_revision="52c11d398790" name="package_python_3_4_cython_0_23_4" owner="nml" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="hyphy-python" version="0.1.3">
+        <repository changeset_revision="86947a99997b" name="package_python_3_4_hyphy_python_0_1_3" owner="nml" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="fakemp" version="0.9.1">
+        <repository changeset_revision="13da2754601c" name="package_python_3_4_fakemp_0_9_1" owner="nml" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="hppy" version="0.9.6">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://github.com/veg/hppy/archive/0.9.6.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="86947a99997b" name="package_python_3_4_hyphy_python_0_1_3" owner="nml" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="hyphy-python" version="0.1.3" />
+                    </repository>
+                    <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>
+                    <repository changeset_revision="52c11d398790" name="package_python_3_4_cython_0_23_4" owner="nml" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="cython" version="0.23.4" />
+                    </repository>
+                    <repository changeset_revision="13da2754601c" name="package_python_3_4_fakemp_0_9_1" owner="nml" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="fakemp" version="0.9.1" />
+                    </repository>
+                </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/python</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_HYPHY_PYTHON]</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_CYTHON]</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_FAKEMP]</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH_HPPY">$INSTALL_DIR/lib/python</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>hppy from https://github.com/veg/hppy</readme>
+    </package>
 </tool_dependency>