diff tool_dependencies.xml @ 1:e9ffcc9e5c41 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_networkx_1_9 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 10:40:43 -0400
parents 41eb57ff1dd0
children 548d4dead876
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Oct 09 04:37:18 2014 -0400
+++ b/tool_dependencies.xml	Fri Jul 17 10:40:43 2015 -0400
@@ -1,25 +1,29 @@
 <?xml version="1.0"?>
 <tool_dependency>
-        <package name="networkx" version="1.9">
-            <install version="1.0">
-                <actions>
-                    <action type="download_by_url">https://pypi.python.org/packages/source/n/networkx/networkx-1.9.1.tar.gz#md5=a2d9ee8427c5636426f319968e0af9f2</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 --install-scripts $INSTALL_DIR/bin
-                    </action>
-                    <action type="set_environment">
-                        <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
-                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
-                        <environment_variable action="set_to" name="PYTHONPATH_NETWORKX">$INSTALL_DIR/lib/python</environment_variable>
-                        <environment_variable action="set_to" name="PATH_NETWORKX">$INSTALL_DIR/bin</environment_variable>
-                    </action>
-                </actions>
-            </install>
-            <readme>
-                The PYTHONPATH for networkx can be accessed through PYTHONPATH_NETWORKX and the binaries with PATH_NETWORKX.
-                http://networkx.github.io/
-            </readme>
-        </package>
+    <package name="python" version="2.7">
+        <repository changeset_revision="44bb4258922f" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="networkx" version="1.9">
+        <install version="1.0">
+            <actions>
+                <action type="setup_python_environment">
+                    <repository changeset_revision="44bb4258922f" name="package_python_2_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="python" version="2.7" />
+                    </repository>
+                    <!-- allow downloading and installing an Python package from https://pypi.org/ -->
+                    <package>https://pypi.python.org/packages/source/n/networkx/networkx-1.9.1.tar.gz</package>
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_NETWORKX">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="PATH_NETWORKX">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            The PYTHONPATH for networkx can be accessed through PYTHONPATH_NETWORKX and the binaries with PATH_NETWORKX.
+            http://networkx.github.io/
+        </readme>
+    </package>
 </tool_dependency>