Mercurial > repos > crs4 > package_pydoop_0_11
view tool_dependencies.xml @ 0:2055590ae81c draft default tip
Uploaded
author | crs4 |
---|---|
date | Thu, 29 May 2014 06:52:48 -0400 |
parents | |
children |
line wrap: on
line source
<?xml version="1.0"?> <tool_dependency> <package name="openssl" version="1.0.1g"> <repository changeset_revision="3b19041c651c" name="package_openssl_1_0" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> </package> <package name="pydoop" version="0.11"> <install version="1.0"> <actions> <action type="download_by_url">http://downloads.sourceforge.net/project/pydoop/Pydoop-0.11/pydoop-0.11.1.tar.gz</action> <action type="set_environment_for_install"> <repository changeset_revision="3b19041c651c" name="package_openssl_1_0" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu"> <package name="openssl" version="1.0.1g" /> </repository> </action> <action type="make_directory">$INSTALL_DIR/lib/python</action> <action type="shell_command">export LIBRARY_PATH=$OPENSSL_ROOT_DIR/lib:$LIBRARY_PATH && export JAVA_HOME=$(readlink -f $(which java)|sed 's|/jre/bin/java$||') && export HADOOP_HOME=$(readlink -f $(which hadoop)|sed 's|/bin/hadoop$||') && export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH && python setup.py install --prefix=$INSTALL_DIR --install-lib=$INSTALL_DIR/lib/python</action><!-- "export LIBRARY_PATH=$OPENSSL_ROOT_DIR/lib:$LIBRARY_PATH &&" may be removed when package_openssl_1_0 is updated --> <action type="set_environment"> <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> </action> </actions> </install> <readme> This package requires that Hadoop is already installed and that the 'hadoop' executable is in the PATH. </readme> </package> </tool_dependency>