0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
2
|
3 <package name="lapack" version="3.4.2">
|
|
4 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
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>
|
2
|
10 <action type="set_environment_for_install">
|
|
11 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
12 <package name="lapack" version="3.4.2" />
|
|
13 </repository>
|
|
14 </action>
|
0
|
15 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
2
|
16 <action language="cheetah" type="template_command">
|
|
17 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
|
18
|
|
19 #if env.get('LAPACK_LIB_DIR', False):
|
|
20 export BLAS=$env.LAPACK_LIB_DIR/libblas.a &&
|
|
21 export LAPACK=$env.LAPACK_LIB_DIR/liblapack.a &&
|
|
22 #end if
|
|
23 python setup.py install --install-lib $env.INSTALL_DIR/lib/python --install-scripts $env.INSTALL_DIR/bin
|
|
24 </action>
|
0
|
25 <action type="set_environment">
|
|
26 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
27 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
28 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
29 <environment_variable action="set_to" name="PATH_NUMPY">$INSTALL_DIR/bin</environment_variable>
|
|
30 </action>
|
|
31 </actions>
|
|
32 </install>
|
|
33 <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>
|
|
34 </package>
|
|
35 </tool_dependency>
|