|
24
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="requests" version="1.2.3">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
26
|
6 <action type="download_by_url" target_filename="requests-1.2.3" >https://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz</action>
|
|
28
|
7 <!--
|
|
27
|
8 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
|
9 <action type="make_directory">$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>
|
|
28
|
14 -->
|
|
24
|
15 <action type="shell_command">python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
|
16 </actions>
|
|
|
17 </install>
|
|
|
18 <readme>
|
|
|
19 </readme>
|
|
|
20 </package>
|
|
|
21 </tool_dependency>
|
|
|
22
|