0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="networkx" version="1.8.1">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <!-- Download source code -->
|
|
7 <action type="download_by_url">https://pypi.python.org/packages/source/n/networkx/networkx-1.8.1.tar.gz</action>
|
|
8
|
|
9 <!-- Build and install networkx -->
|
|
10 <action type="shell_command">mkdir -p $INSTALL_DIR/lib/python</action>
|
|
11 <action type="shell_command">PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python python setup.py install --home $INSTALL_DIR</action>
|
|
12
|
|
13 <!-- Set environment for dependent repositories -->
|
|
14 <action type="set_environment">
|
|
15 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
|
|
16 </action>
|
|
17 </actions>
|
|
18 </install>
|
|
19 </package>
|
|
20 </tool_dependency>
|