Mercurial > repos > sauria > package_h5py_2_4_0
changeset 0:79b31a4c757c draft
Uploaded
author | sauria |
---|---|
date | Mon, 13 Apr 2015 13:56:30 -0400 |
parents | |
children | 5bcce0d02014 |
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 Mon Apr 13 13:56:30 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.9"> + <repository name="package_numpy_1_9" owner="iuc" changeset_revision="266529386609" 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.4.0"> + <install version="1.0"> + <actions> + <action type="download_by_url">https://pypi.python.org/packages/source/h/h5py/h5py-2.4.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_9" owner="iuc" changeset_revision="266529386609" toolshed="https://testtoolshed.g2.bx.psu.edu" > + <package name="numpy" version="1.9" /> + </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