0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
7
|
3 <package name="atlas" version="3.10.2">
|
12
|
4 <repository changeset_revision="0538fd672119" name="package_atlas_3_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
7
|
5 </package>
|
0
|
6 <package name="numpy" version="1.7.1">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action>
|
|
10 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
7
|
11 <action type="set_environment_for_install">
|
12
|
12 <repository changeset_revision="0538fd672119" name="package_atlas_3_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
7
|
13 <package name="atlas" version="3.10.2" />
|
|
14 </repository>
|
|
15 </action>
|
12
|
16 <action type="shell_command">
|
|
17 cat > site.cfg <<EOF
|
|
18 [DEFAULT]
|
|
19 library_dirs = $ATLAS_LIB_DIR
|
|
20 include_dirs = $ATLAS_INCLUDE_DIR
|
|
21 [blas_opt]
|
|
22 libraries = blas, atlas
|
|
23 [lapack_opt]
|
|
24 libraries = lapack, atlas
|
|
25 EOF
|
|
26 </action>
|
3
|
27 <action type="shell_command">
|
|
28 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
7
|
29 export ATLAS=$ATLAS_ROOT_PATH &&
|
3
|
30 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
2
|
31 </action>
|
0
|
32 <action type="set_environment">
|
4
|
33 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
0
|
34 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
9
|
35 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[ATLAS_LIB_DIR]</environment_variable>
|
11
|
36 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[ATLAS_LIB_DIR]/atlas</environment_variable>
|
0
|
37 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
38 <environment_variable action="set_to" name="PATH_NUMPY">$INSTALL_DIR/bin</environment_variable>
|
5
|
39 </action>
|
0
|
40 </actions>
|
|
41 </install>
|
|
42 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY and the binaries with PATH_NUMPY.</readme>
|
|
43 </package>
|
|
44 </tool_dependency>
|