Mercurial > repos > saketkc > pycurl_test
changeset 0:13ecc870e4a0 draft default tip
Uploaded
author | saketkc |
---|---|
date | Thu, 14 Aug 2014 19:56:26 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Aug 14 19:56:26 2014 -0400 @@ -0,0 +1,49 @@ +<?xml version='1.0' encoding='utf-8'?> +<tool_dependency> + <package name="pycurl" version="7.19.3.1"> + <readme> + This Galaxy Tool shed package installs pycurl(https://pypi.python.org/pypi/pycurl) + package. + + The corresponding PYTHONPATH is accessible via PYTHONPATH_PYCURL + + Developmental version is hosted on Github: https://github.com/saketkc/galaxy_tools/packages/package_pycurl_7_19_3_1/ + </readme> + <install version="1.0"> + <actions> + <action type="download_by_url">http://curl.haxx.se/download/curl-7.36.0.tar.gz</action> + <action type="shell_command">mkdir install-destination</action> + <action type="shell_command">./configure --with-ssl --prefix=$INSTALL_DIR/install-destination</action> + <action type="shell_command">make all</action> + <action type="shell_command">make install</action> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/install-destination</environment_variable> + <environment_variable name="CURL" action="set_to">$INSTALL_DIR/install-destination/bin/curl-config</environment_variable> + </action> + </actions> + + + <actions> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/install-destination</environment_variable> + <environment_variable name="CURL" action="set_to">$INSTALL_DIR/install-destination/bin/curl-config</environment_variable> + </action> + <action type="download_by_url">https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="shell_command"> + export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && + python setup.py build --with-ssl --curl-config=$CURL && + python setup.py install --install-lib $INSTALL_DIR/lib/python + </action> + <action type="set_environment"> + <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable action="set_to" name="PYTHONPATH_PYCURL">$INSTALL_DIR/lib/python</environment_variable> + </action> + </actions> + </install> + </package> +</tool_dependency> + + + +