0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
5
|
4 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="scipy" version="0.12.0">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://downloads.sourceforge.net/project/scipy/scipy/0.12.0/scipy-0.12.0.tar.gz</action>
|
|
10 <action type="set_environment_for_install">
|
5
|
11 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
0
|
12 <package name="numpy" version="1.7.1" />
|
|
13 </repository>
|
|
14 </action>
|
|
15 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
16 <action language="cheetah" type="template_command">
|
|
17 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &&
|
|
18
|
|
19 export PATH=\$PATH:$env.PATH_NUMPY &&
|
|
20 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY &&
|
|
21 python setup.py install --install-lib $env.INSTALL_DIR/lib/python --install-scripts $env.INSTALL_DIR/bin
|
|
22 </action>
|
|
23 <action type="set_environment">
|
4
|
24 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
0
|
25 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
4
|
26 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
0
|
27 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
28 <environment_variable action="set_to" name="PYTHONPATH_SCIPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
29 <environment_variable action="set_to" name="PATH_SCIPY">$INSTALL_DIR/bin</environment_variable>
|
|
30 </action>
|
|
31 </actions>
|
|
32 </install>
|
|
33 <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>
|
|
34 </package>
|
|
35 </tool_dependency>
|