|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="lapack" version="3.4.2">
|
|
|
4 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
|
6 <package name="atlas" version="3.10.1">
|
|
|
7 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
8 </package>
|
|
|
9 <package name="numpy" version="1.7.1">
|
|
|
10 <repository changeset_revision="ad6ebe2c75ef" name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
11 </package>
|
|
|
12 <package name="scipy" version="0.12.0">
|
|
|
13 <install version="1.0">
|
|
|
14 <actions>
|
|
|
15 <action type="download_by_url">http://downloads.sourceforge.net/project/scipy/scipy/0.12.0/scipy-0.12.0.tar.gz</action>
|
|
|
16 <action type="set_environment_for_install">
|
|
|
17 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
18 <package name="atlas" version="3.10.1" />
|
|
|
19 </repository>
|
|
|
20 <repository changeset_revision="a6b8f46acca7" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
21 <package name="lapack" version="3.4.2" />
|
|
|
22 </repository>
|
|
|
23 <repository changeset_revision="ad6ebe2c75ef" name="package_numpy_1_7" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
24 <package name="numpy" version="1.7.1" />
|
|
|
25 </repository>
|
|
|
26 </action>
|
|
|
27
|
|
|
28 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
|
29 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
|
30 export BLAS=$LAPACK_LIB_DIR/libblas.a &&
|
|
|
31 export LAPACK=$LAPACK_LIB_DIR/liblapack.a &&
|
|
|
32 export ATLAS=$ATLAS_LIB_DIR/libatlas.a &&
|
|
|
33 export PATH=$PATH:$PATH_NUMPY &&
|
|
|
34 export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &&
|
|
|
35 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
|
36 <action type="set_environment">
|
|
|
37 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
38 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
39 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
|
40 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
|
41 <environment_variable action="set_to" name="PYTHONPATH_SCIPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
42 <environment_variable action="set_to" name="PATH_SCIPY">$INSTALL_DIR/bin</environment_variable>
|
|
|
43 </action>
|
|
|
44 </actions>
|
|
|
45 </install>
|
|
|
46 <readme>Compiling scipy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for scipy can be accessed through PYTHONPATH_SCIPY and the binaries with PATH_SCIPY.</readme>
|
|
|
47 </package>
|
|
|
48 </tool_dependency>
|