5
|
1 <?xml version="1.0"?>
|
0
|
2 <tool_dependency>
|
5
|
3 <package name="lapack" version="3.4.2">
|
7
|
4 <repository changeset_revision="11df6383f50a" 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">
|
8
|
7 <repository changeset_revision="4e971abe695a" 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">
|
|
14 <repository changeset_revision="4e971abe695a" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
15 <package name="atlas" version="3.10.1" />
|
5
|
16 </repository>
|
9
|
17 </action>
|
|
18 <action type="set_environment_for_install">
|
|
19 <repository changeset_revision="11df6383f50a" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
20 <package name="lapack" version="3.4.2" />
|
5
|
21 </repository>
|
|
22 </action>
|
9
|
23 <action type="shell_command">echo $LAPACK_LIB_DIR/libblas.a > $INSTALL_DIR/bu.txt</action>
|
|
24 <action type="shell_command">echo $ATLAS_LIB_DIR/libatlas.a > $INSTALL_DIR/au.txt</action>
|
|
25 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
26 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
27 export BLAS=$LAPACK_LIB_DIR/libblas.a &&
|
|
28 export LAPACK=$LAPACK_LIB_DIR/liblapack.a &&
|
|
29 export ATLAS=$ATLAS_LIB_DIR/libatlas.a &&
|
|
30 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
31 <action type="set_environment">
|
|
32 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
33 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
34 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
35 <environment_variable action="set_to" name="BLAS">$LAPACK_LIB_DIR/libblas.a</environment_variable>
|
|
36 <environment_variable action="set_to" name="LAPACK">$LAPACK_LIB_DIR/liblapack.a</environment_variable>
|
|
37 <environment_variable action="set_to" name="ATLAS">$ATLAS_LIB_DIR/libatlas.a</environment_variable>
|
|
38 </action>
|
|
39 </actions>
|
|
40 </install>
|
|
41 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY.</readme>
|
|
42 </package>
|
|
43 </tool_dependency>
|