0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.9">
|
|
4 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="scipy" version="0.14">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.tar.gz#md5=d7c7f4ccf8b07b08d6fe49d5cd51f85d</action>
|
|
10 <action type="set_environment_for_install">
|
|
11 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
12 <package name="numpy" version="1.9" />
|
|
13 </repository>
|
|
14 </action>
|
|
15 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
16 <action type="shell_command">
|
|
17 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
18 export PATH=$PATH:$PATH_NUMPY &&
|
|
19 export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &&
|
|
20 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
21 </action>
|
|
22 <action type="set_environment">
|
|
23 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
24 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
25 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
26 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
27 <environment_variable action="set_to" name="PYTHONPATH_SCIPY">$INSTALL_DIR/lib/python</environment_variable>
|
|
28 <environment_variable action="set_to" name="PATH_SCIPY">$INSTALL_DIR/bin</environment_variable>
|
|
29 </action>
|
|
30 </actions>
|
|
31 </install>
|
|
32 <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>
|
|
33 </package>
|
|
34 </tool_dependency>
|