view tool_dependencies.xml @ 0:41eb57ff1dd0 draft

Imported from capsule None
author iuc
date Thu, 09 Oct 2014 04:37:18 -0400
parents
children e9ffcc9e5c41
line wrap: on
line source

<?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>