|
24
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="requests" version="1.2.3">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
29
|
6 <action type="download_by_url">http://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz</action>
|
|
27
|
7 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
30
|
8 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
|
9 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
24
|
10 <action type="set_environment">
|
|
|
11 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
12 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
13 </action>
|
|
29
|
14
|
|
24
|
15 </actions>
|
|
|
16 </install>
|
|
|
17 <readme>
|
|
|
18 </readme>
|
|
|
19 </package>
|
|
|
20 </tool_dependency>
|
|
|
21
|