Mercurial > repos > saketkc > pycurl_test
comparison tool_dependencies.xml @ 0:13ecc870e4a0 draft default tip
Uploaded
author | saketkc |
---|---|
date | Thu, 14 Aug 2014 19:56:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13ecc870e4a0 |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | |
2 <tool_dependency> | |
3 <package name="pycurl" version="7.19.3.1"> | |
4 <readme> | |
5 This Galaxy Tool shed package installs pycurl(https://pypi.python.org/pypi/pycurl) | |
6 package. | |
7 | |
8 The corresponding PYTHONPATH is accessible via PYTHONPATH_PYCURL | |
9 | |
10 Developmental version is hosted on Github: https://github.com/saketkc/galaxy_tools/packages/package_pycurl_7_19_3_1/ | |
11 </readme> | |
12 <install version="1.0"> | |
13 <actions> | |
14 <action type="download_by_url">http://curl.haxx.se/download/curl-7.36.0.tar.gz</action> | |
15 <action type="shell_command">mkdir install-destination</action> | |
16 <action type="shell_command">./configure --with-ssl --prefix=$INSTALL_DIR/install-destination</action> | |
17 <action type="shell_command">make all</action> | |
18 <action type="shell_command">make install</action> | |
19 <action type="set_environment"> | |
20 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/install-destination</environment_variable> | |
21 <environment_variable name="CURL" action="set_to">$INSTALL_DIR/install-destination/bin/curl-config</environment_variable> | |
22 </action> | |
23 </actions> | |
24 | |
25 | |
26 <actions> | |
27 <action type="set_environment"> | |
28 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/install-destination</environment_variable> | |
29 <environment_variable name="CURL" action="set_to">$INSTALL_DIR/install-destination/bin/curl-config</environment_variable> | |
30 </action> | |
31 <action type="download_by_url">https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz</action> | |
32 <action type="make_directory">$INSTALL_DIR/lib/python</action> | |
33 <action type="shell_command"> | |
34 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && | |
35 python setup.py build --with-ssl --curl-config=$CURL && | |
36 python setup.py install --install-lib $INSTALL_DIR/lib/python | |
37 </action> | |
38 <action type="set_environment"> | |
39 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> | |
40 <environment_variable action="set_to" name="PYTHONPATH_PYCURL">$INSTALL_DIR/lib/python</environment_variable> | |
41 </action> | |
42 </actions> | |
43 </install> | |
44 </package> | |
45 </tool_dependency> | |
46 | |
47 | |
48 | |
49 |