Mercurial > repos > iuc > package_bx_python_0_7
changeset 3:7998e7e97a82 draft
Uploaded
author | iuc |
---|---|
date | Fri, 23 Jan 2015 07:52:31 -0500 |
parents | 411b6d0c27dc |
children | 4c15bd2528e1 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 11 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Thu Jan 22 17:34:45 2015 -0500 +++ b/tool_dependencies.xml Fri Jan 23 07:52:31 2015 -0500 @@ -1,26 +1,23 @@ <?xml version="1.0"?> <tool_dependency> - <package name="numpy" version="1.9"> - <repository changeset_revision="49a8bba001d7" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> - </package> - <package name="python" version="2.7"> - <repository changeset_revision="dffe84445ebd" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + <package name="numpy" version="1.7.1"> + <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> </package> <package name="bx-python" version="0.7.1"> <install version="1.0"> <actions> + <action type="download_by_url">https://pypi.python.org/packages/source/b/bx-python/bx-python-0.7.1.tar.gz</action> + <action type="set_environment_for_install"> - <repository changeset_revision="49a8bba001d7" name="package_numpy_1_9" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> - <package name="numpy" version="1.9" /> + <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> + <package name="numpy" version="1.7.1" /> </repository> </action> - <action type="setup_python_environment"> - <repository changeset_revision="dffe84445ebd" 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/b/bx-python/bx-python-0.7.1.tar.gz</package> - </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>