comparison tool_dependencies.xml @ 0:aa5180c893f5 draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:46:32 -0400
parents
children 187102b578e3
comparison
equal deleted inserted replaced
-1:000000000000 0:aa5180c893f5
1 <?xml version="1.0"?>
2 <tool_dependency>
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>
6 <package name="atlas" version="3.10.1">
7 <repository changeset_revision="597c0e54eded" name="package_atlas_3_10" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
8 </package>
9 <package name="numpy" version="1.7.1">
10 <repository changeset_revision="c75482be1d3a" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.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="597c0e54eded" name="package_atlas_3_10" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
18 <package name="atlas" version="3.10.1" />
19 </repository>
20 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
21 <package name="lapack" version="3.4.2" />
22 </repository>
23 <repository changeset_revision="c75482be1d3a" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
24 <package name="numpy" version="1.7.1" />
25 </repository>
26 </action>
27 <action type="make_directory">$INSTALL_DIR/lib/python</action>
28 <action language="cheetah" type="template_command">
29 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &amp;&amp;
30
31 #if env.get('ATLAS_LIB_DIR', False):
32 export ATLAS=$env.ATLAS_LIB_DIR/libatlas.a &amp;&amp;
33 #end if
34 #if env.get('LAPACK_LIB_DIR', False):
35 export BLAS=$env.LAPACK_LIB_DIR/libblas.a &amp;&amp;
36 export LAPACK=$env.LAPACK_LIB_DIR/liblapack.a &amp;&amp;
37 #end if
38
39 export PATH=\$PATH:$env.PATH_NUMPY &amp;&amp;
40 export PYTHONPATH=\$PYTHONPATH:$env.PYTHONPATH_NUMPY &amp;&amp;
41 python setup.py install --install-lib $env.INSTALL_DIR/lib/python --install-scripts $env.INSTALL_DIR/bin
42 </action>
43 <action type="set_environment">
44 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
45 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
46 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
47 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
48 <environment_variable action="set_to" name="PYTHONPATH_SCIPY">$INSTALL_DIR/lib/python</environment_variable>
49 <environment_variable action="set_to" name="PATH_SCIPY">$INSTALL_DIR/bin</environment_variable>
50 </action>
51 </actions>
52 </install>
53 <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>
54 </package>
55 </tool_dependency>