Repository 'package_networkx_1_9'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/package_networkx_1_9

Changeset 0:41eb57ff1dd0 (2014-10-09)
Next changeset 1:e9ffcc9e5c41 (2015-07-17)
Commit message:
Imported from capsule None
added:
tool_dependencies.xml
b
diff -r 000000000000 -r 41eb57ff1dd0 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Thu Oct 09 04:37:18 2014 -0400
b
@@ -0,0 +1,25 @@
+<?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>
+</tool_dependency>