Mercurial > repos > saketkc > package_pycurl_7_19_3_1
view tool_dependencies.xml @ 6:5745fd548dbb draft default tip
Uploaded
author | saketkc |
---|---|
date | Sun, 20 Jul 2014 23:06:38 -0400 |
parents | dd73404f61e4 |
children |
line wrap: on
line source
<?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> <action type="shell_command">echo $INSTALL_DIR</action> <action type="shell_command">echo $CURL</action> </actions> <actions> <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>