comparison tool_dependencies.xml @ 5:a03ee94316b5 draft

Updated tool dependency definition
author iuc
date Sat, 28 Mar 2015 16:28:12 -0400
parents fe60617380df
children f4e53dfdd044
comparison
equal deleted inserted replaced
4:fe60617380df 5:a03ee94316b5
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="numpy" version="1.7.1"> 3 <package name="numpy" version="1.7.1">
4 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> 4 <repository changeset_revision="c7ae57300a77" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5 </package> 5 </package>
6 <package name="freetype" version="2.4.11"> 6 <package name="freetype" version="2.4.11">
7 <repository changeset_revision="8761091302c4" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> 7 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
8 </package> 8 </package>
9 <package name="libpng" version="1.6.7"> 9 <package name="libpng" version="1.6.7">
10 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> 10 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
11 </package>
12 <package name="tiff" version="4.0.3">
13 <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
14 </package>
15 <package name="zlib" version="1.2.8">
16 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
17 </package>
18 <package name="imaging" version="1.1.7">
19 <repository changeset_revision="d5f2627f4cfd" name="package_imaging_1_1_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
11 </package> 20 </package>
12 <package name="matplotlib" version="1.2.1"> 21 <package name="matplotlib" version="1.2.1">
13 <install version="1.0"> 22 <install version="1.0">
14 <actions> 23 <actions>
15 <!-- first action is always downloading --> 24 <!-- first action is always downloading -->
16 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action> 25 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
17 26
18 <!-- populate the environment variables from the dependend repos --> 27 <!-- populate the environment variables from the dependent repos -->
19 <action type="set_environment_for_install"> 28 <action type="set_environment_for_install">
20 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu"> 29 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
30 <package name="zlib" version="1.2.8" />
31 </repository>
32 <repository changeset_revision="c7ae57300a77" name="package_numpy_1_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
21 <package name="numpy" version="1.7.1" /> 33 <package name="numpy" version="1.7.1" />
22 </repository> 34 </repository>
23 <repository changeset_revision="8761091302c4" name="package_freetype_2_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu"> 35 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
24 <package name="freetype" version="2.4.11" /> 36 <package name="freetype" version="2.4.11" />
25 </repository> 37 </repository>
26 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu"> 38 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu">
27 <package name="libpng" version="1.6.7" /> 39 <package name="libpng" version="1.6.7" />
40 </repository>
41 <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
42 <package name="tiff" version="4.0.3" />
43 </repository>
44 <repository changeset_revision="d5f2627f4cfd" name="package_imaging_1_1_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
45 <package name="imaging" version="1.1.7" />
28 </repository> 46 </repository>
29 </action> 47 </action>
30 48
31 <!-- install matplotlib --> 49 <!-- install matplotlib -->
32 <action type="make_directory">$INSTALL_DIR/lib/python</action> 50 <action type="make_directory">$INSTALL_DIR/lib/python</action>
33 <action type="shell_command"> 51 <action type="shell_command">
34 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &amp;&amp; 52 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
35 export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/:${LIBPNG_ROOT}/include &amp;&amp;
36 export LIBRARY_PATH=$FREETYPE_LIB_DIR:${LIBPNG_ROOT}/lib &amp;&amp;
37 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin 53 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
38 </action> 54 </action>
39 <action type="set_environment"> 55 <action type="set_environment">
40 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> 56 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
41 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable> 57 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
58 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_IMAGING]</environment_variable>
59 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
42 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable> 60 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
43 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[FREETYPE_LIB_DIR]</environment_variable> 61 <environment_variable action="set_to" name="MATPLOTLIB_LIB_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
44 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
45 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable> 62 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
46 </action> 63 </action>
47 </actions> 64 </actions>
48 </install> 65 </install>
49 <readme>Compiling matplotlib requires a C compiler (typically gcc). To gain addidtiona performance pleae make sure you have ATLAS and BLAS installed.</readme> 66 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
50 </package> 67 </package>
51 </tool_dependency> 68 </tool_dependency>