|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="numpy" version="1.7.1">
|
|
6
|
4 <repository changeset_revision="11099cc214d5" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
5 </package>
|
|
|
6 <package name="freetype" version="2.4.11">
|
|
4
|
7 <repository changeset_revision="f00d38b25a10" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
8 </package>
|
|
2
|
9 <package name="libpng" version="1.6.7">
|
|
3
|
10 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
11 </package>
|
|
|
12 <package name="zlib" version="1.2.8">
|
|
|
13 <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
2
|
14 </package>
|
|
0
|
15 <package name="matplotlib" version="1.2.1">
|
|
|
16 <install version="1.0">
|
|
|
17 <actions>
|
|
|
18 <!-- first action is always downloading -->
|
|
|
19 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
|
|
|
20
|
|
|
21 <!-- populate the environment variables from the dependend repos -->
|
|
|
22 <action type="set_environment_for_install">
|
|
3
|
23 <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
24 <package name="zlib" version="1.2.8" />
|
|
|
25 </repository>
|
|
6
|
26 <repository changeset_revision="11099cc214d5" name="package_numpy_1_7" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
0
|
27 <package name="numpy" version="1.7.1" />
|
|
|
28 </repository>
|
|
4
|
29 <repository changeset_revision="f00d38b25a10" name="package_freetype_2_4" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
0
|
30 <package name="freetype" version="2.4.11" />
|
|
|
31 </repository>
|
|
3
|
32 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
2
|
33 <package name="libpng" version="1.6.7" />
|
|
|
34 </repository>
|
|
0
|
35 </action>
|
|
|
36
|
|
|
37 <!-- install matplotlib -->
|
|
|
38 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
1
|
39 <action type="shell_command">
|
|
4
|
40 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
1
|
41 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
|
42 </action>
|
|
0
|
43 <action type="set_environment">
|
|
2
|
44 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
45 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
0
|
46 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
7
|
47 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
|
|
|
48 <environment_variable action="set_to" name="MATPLOTLIB_LIB_PATH">$ENV[LIBPNG_ROOT]/lib</environment_variable>
|
|
0
|
49 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
50 </action>
|
|
|
51 </actions>
|
|
|
52 </install>
|
|
|
53 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
|
|
|
54 </package>
|
|
|
55 </tool_dependency>
|