Mercurial > repos > iuc > package_networkx_1_9
changeset 4:63533581760e draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_networkx_1_9 commit 90f0980ded867989e4e3696170d3a2a373aa3197
author | iuc |
---|---|
date | Sun, 17 May 2015 22:38:14 -0400 |
parents | 64c4ae3db877 |
children | 14070c1ebc23 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 22 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Sun May 17 17:28:44 2015 -0400 +++ b/tool_dependencies.xml Sun May 17 22:38:14 2015 -0400 @@ -1,31 +1,25 @@ <?xml version="1.0"?> <tool_dependency> - <package name="python" version="2.7"> - <repository changeset_revision="55bebb0e06ec" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> - </package> - <package name="networkx" version="1.9"> - <install version="1.0"> - <actions> - <action type="setup_python_environment"> - <repository changeset_revision="55bebb0e06ec" name="package_python_2_7" owner="iuc" toolshed="https://testtoolshed.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</environment_variable> - <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> - <environment_variable action="set_to" name="PYTHONPATH_NETWORKX">$INSTALL_DIR</environment_variable> - <environment_variable action="set_to" name="PATH_NETWORKX">$INSTALL_DIR/bin</environment_variable> - <environment_variable action="set_to" name="NETWORKX_ROOT_DIR">$INSTALL_DIR</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="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 && + 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>