0
|
1 <tool_dependency>
|
|
2 <package name="numpy" version="1.7.1">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action>
|
|
6 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
7 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
|
8 <action type="set_environment">
|
|
9 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
|
|
10 <environment_variable name="PYTHONPATH_NUMPY" action="set_to">$INSTALL_DIR/lib/python</environment_variable>
|
|
11 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
12 </action>
|
|
13 </actions>
|
|
14 </install>
|
|
15 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY.</readme>
|
|
16 </package>
|
|
17 </tool_dependency>
|