0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
5
|
4 <repository changeset_revision="c7ae57300a77" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="freetype" version="2.4.11">
|
5
|
7 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
8 </package>
|
3
|
9 <package name="libpng" version="1.6.7">
|
5
|
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" />
|
3
|
20 </package>
|
0
|
21 <package name="matplotlib" version="1.2.1">
|
|
22 <install version="1.0">
|
|
23 <actions>
|
|
24 <!-- first action is always downloading -->
|
|
25 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
|
|
26
|
5
|
27 <!-- populate the environment variables from the dependent repos -->
|
0
|
28 <action type="set_environment_for_install">
|
5
|
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">
|
0
|
33 <package name="numpy" version="1.7.1" />
|
|
34 </repository>
|
5
|
35 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
0
|
36 <package name="freetype" version="2.4.11" />
|
|
37 </repository>
|
5
|
38 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu">
|
3
|
39 <package name="libpng" version="1.6.7" />
|
|
40 </repository>
|
5
|
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" />
|
|
46 </repository>
|
0
|
47 </action>
|
|
48
|
|
49 <!-- install matplotlib -->
|
|
50 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
51 <action type="shell_command">
|
5
|
52 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
0
|
53 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
54 </action>
|
|
55 <action type="set_environment">
|
2
|
56 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
57 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
5
|
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>
|
4
|
60 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
|
5
|
61 <environment_variable action="set_to" name="MATPLOTLIB_LIB_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
|
0
|
62 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
|
|
63 </action>
|
|
64 </actions>
|
|
65 </install>
|
5
|
66 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
|
0
|
67 </package>
|
|
68 </tool_dependency>
|