|
0
|
1 <?xml version='1.0' encoding='utf-8'?>
|
|
|
2 <tool_dependency>
|
|
1
|
3 <package name="pycurl" version="7.19.3.1">
|
|
0
|
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>
|
|
3
|
14 <action type="download_by_url">http://curl.haxx.se/download/curl-7.36.0.tar.gz</action>
|
|
|
15 <action type="shell_command">make</action>
|
|
|
16 <action type="move_directory_files">
|
|
|
17 <source_directory>include</source_directory>
|
|
|
18 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
|
19 </action>
|
|
|
20 <action type="set_environment">
|
|
|
21 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
|
|
|
22 <environment_variable name="CURL" action="set_to">$INSTALL_DIR</environment_variable>
|
|
|
23 </action>
|
|
|
24 </actions>
|
|
|
25
|
|
|
26
|
|
|
27 <actions>
|
|
0
|
28 <action type="download_by_url">https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz</action>
|
|
|
29 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
|
30 <action type="shell_command">
|
|
|
31 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
3
|
32 python setup.py build --with-ssl --curl-config=$CURL/curl-config &&
|
|
0
|
33 python setup.py install --install-lib $INSTALL_DIR/lib/python
|
|
|
34 </action>
|
|
|
35 <action type="set_environment">
|
|
|
36 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
1
|
37 <environment_variable action="set_to" name="PYTHONPATH_PYCURL">$INSTALL_DIR/lib/python</environment_variable>
|
|
0
|
38 </action>
|
|
|
39 </actions>
|
|
|
40 </install>
|
|
|
41 </package>
|
|
|
42 </tool_dependency>
|
|
|
43
|
|
|
44
|
|
|
45
|
|
|
46
|