5
|
1 <?xml version="1.0"?>
|
0
|
2 <tool_dependency>
|
5
|
3 <package name="lapack" version="3.4.2">
|
15
|
4 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
9
|
5 </package>
|
|
6 <package name="atlas" version="3.10.1">
|
13
|
7 <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
9
|
8 </package>
|
|
9 <package name="numpy" version="1.7.1">
|
|
10 <install version="1.0">
|
|
11 <actions>
|
|
12 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action>
|
|
13 <action type="set_environment_for_install">
|
13
|
14 <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
9
|
15 <package name="atlas" version="3.10.1" />
|
5
|
16 </repository>
|
15
|
17 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
9
|
18 <package name="lapack" version="3.4.2" />
|
5
|
19 </repository>
|
|
20 </action>
|
9
|
21 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
22 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
23 export BLAS=$LAPACK_LIB_DIR/libblas.a &&
|
|
24 export LAPACK=$LAPACK_LIB_DIR/liblapack.a &&
|
|
25 export ATLAS=$ATLAS_LIB_DIR/libatlas.a &&
|
|
26 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
27 <action type="set_environment">
|
|
28 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
29 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
30 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
31 </action>
|
|
32 </actions>
|
|
33 </install>
|
|
34 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY.</readme>
|
|
35 </package>
|
16
|
36 </tool_dependency>
|