| 1 | 1 <?xml version="1.0"?> | 
|  | 2 <!-- borrowed by Ross Lazarus from Lance Parson's htseq code --> | 
|  | 3 <tool_dependency> | 
|  | 4     <package name="numpy_1.7.1" version="1.7.1"> | 
|  | 5         <install version="1.0"> | 
|  | 6             <actions> | 
|  | 7                 <action type="download_by_url">http://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action> | 
|  | 8                 <action type="make_directory">$INSTALL_DIR/lib/python</action> | 
|  | 9                 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> | 
|  | 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> | 
|  | 14             </actions> | 
|  | 15         </install> | 
|  | 16         <readme> | 
|  | 17         </readme> | 
|  | 18     </package> | 
|  | 19 </tool_dependency> | 
|  | 20 | 
|  | 21 | 
|  | 22 |