0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
|
4 <repository prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu/" owner="iuc" name="package_numpy_1_7" changeset_revision="74c21f9bdc39" />
|
|
5 </package>
|
|
6
|
|
7 <package name="fisher" version="0.1.4">
|
|
8 <install version="1.0">
|
|
9 <actions>
|
|
10 <!-- Download source code -->
|
|
11 <action type="download_by_url">https://pypi.python.org/packages/source/f/fisher/fisher-0.1.4.tar.gz</action>
|
|
12
|
|
13 <!-- Get PYTHONPATH_NUMPY from numpy package -->
|
|
14 <action type="set_environment_for_install">
|
|
15 <repository toolshed="http://toolshed.g2.bx.psu.edu/" owner="iuc" name="package_numpy_1_7" changeset_revision="74c21f9bdc39">
|
|
16 <package name="numpy" version="1.7.1" />
|
|
17 </repository>
|
|
18 </action>
|
|
19
|
|
20 <!-- Build and install fisher -->
|
|
21 <action type="shell_command">mkdir -p $INSTALL_DIR/lib/python</action>
|
|
22 <action type="shell_command">PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY python setup.py install --home $INSTALL_DIR</action>
|
|
23
|
|
24 <!-- Set environment for dependent repositories -->
|
|
25 <action type="set_environment">
|
|
26 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
27 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
28 </action>
|
|
29 </actions>
|
|
30 </install>
|
|
31 </package>
|
|
32 </tool_dependency>
|