comparison tool_dependencies.xml @ 0:c75482be1d3a draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:44:19 -0400
parents
children 74c21f9bdc39
comparison
equal deleted inserted replaced
-1:000000000000 0:c75482be1d3a
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 <install version="1.0">
11 <actions>
12 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action>
13 <action type="set_environment_for_install">
14 <repository changeset_revision="597c0e54eded" name="package_atlas_3_10" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
15 <package name="atlas" version="3.10.1" />
16 </repository>
17 <repository changeset_revision="98a7d116c15f" name="package_lapack_3_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
18 <package name="lapack" version="3.4.2" />
19 </repository>
20 </action>
21 <action type="make_directory">$INSTALL_DIR/lib/python</action>
22 <action language="cheetah" type="template_command">
23 export PYTHONPATH=\$PYTHONPATH:$env.INSTALL_DIR/lib/python &amp;&amp;
24
25 #if env.get('ATLAS_LIB_DIR', False):
26 export ATLAS=$env.ATLAS_LIB_DIR/libatlas.a &amp;&amp;
27 #end if
28 #if env.get('LAPACK_LIB_DIR', False):
29 export BLAS=$env.LAPACK_LIB_DIR/libblas.a &amp;&amp;
30 export LAPACK=$env.LAPACK_LIB_DIR/liblapack.a &amp;&amp;
31 #end if
32 python setup.py install --install-lib $env.INSTALL_DIR/lib/python --install-scripts $env.INSTALL_DIR/bin
33 </action>
34 <action type="set_environment">
35 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
36 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
37 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable>
38 <environment_variable action="set_to" name="PATH_NUMPY">$INSTALL_DIR/bin</environment_variable>
39 </action>
40 </actions>
41 </install>
42 <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>
43 </package>
44 </tool_dependency>