Mercurial > repos > sauria > package_h5py_2_5_0
changeset 0:cac2248ec1fd draft
Uploaded
author | sauria |
---|---|
date | Thu, 16 Apr 2015 16:17:00 -0400 |
parents | |
children | 3b17bd6fa3ae |
files | tool_dependencies.xml |
diffstat | 1 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Apr 16 16:17:00 2015 -0400 @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="hdf5" version="1.8.12"> + <repository changeset_revision="3412ecd1792d" name="package_hdf5_1_8_12" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="numpy" version="1.7.1"> + <repository name="package_numpy_1_7" owner="iuc" changeset_revision="11099cc214d5" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="cython" version="0.20.1"> + <repository name="package_cython_0_20_1" owner="iuc" changeset_revision="749f11b9358a" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="h5py" version="2.5.0"> + <install version="1.0"> + <actions> + <action type="download_by_url">https://pypi.python.org/packages/source/h/h5py/h5py-2.5.0.tar.gz</action> + + <action type="set_environment_for_install"> + <repository changeset_revision="3412ecd1792d" name="package_hdf5_1_8_12" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" > + <package name="hdf5" version="1.8.12" /> + </repository> + <repository name="package_numpy_1_7" owner="iuc" changeset_revision="11099cc214d5" toolshed="https://testtoolshed.g2.bx.psu.edu" > + <package name="numpy" version="1.7.1" /> + </repository> + <repository name="package_cython_0_20_1" owner="iuc" changeset_revision="749f11b9358a" toolshed="https://testtoolshed.g2.bx.psu.edu" > + <package name="cython" version="0.20.1" /> + </repository> + <environment_variable action="set_to" name="HDF5_DIR">$HDF5_LIBRARY_PATH</environment_variable> + </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 + </action> + + <action type="set_environment"> + <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable action="set_to" name="PYTHONPATH_H5PY">$INSTALL_DIR/lib/python</environment_variable> + </action> + </actions> + </install> + <readme> + Compiling h5py requires cython. + </readme> + </package> +</tool_dependency> \ No newline at end of file