|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="numpy" version="1.9">
|
|
|
4 <repository changeset_revision="49a8bba001d7" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
1
|
6 <package name="freetype" version="2.5.2">
|
|
|
7 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
8 </package>
|
|
|
9 <package name="libpng" version="1.6.7">
|
|
|
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" />
|
|
|
14 </package>
|
|
|
15 <package name="matplotlib" version="1.4">
|
|
|
16 <install version="1.0">
|
|
|
17 <actions>
|
|
|
18 <!-- first action is always downloading -->
|
|
1
|
19 <action type="download_by_url">https://github.com/matplotlib/matplotlib/archive/v1.4.2.zip</action>
|
|
0
|
20 <!-- populate the environment variables from the dependend repos -->
|
|
|
21 <action type="set_environment_for_install">
|
|
|
22 <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
23 <package name="zlib" version="1.2.8" />
|
|
|
24 </repository>
|
|
|
25 <repository changeset_revision="49a8bba001d7" name="package_numpy_1_9" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
26 <package name="numpy" version="1.9" />
|
|
|
27 </repository>
|
|
1
|
28 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
29 <package name="freetype" version="2.5.2" />
|
|
0
|
30 </repository>
|
|
|
31 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
32 <package name="libpng" version="1.6.7" />
|
|
|
33 </repository>
|
|
|
34 </action>
|
|
|
35
|
|
|
36 <!-- install matplotlib -->
|
|
|
37 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
|
38 <action type="shell_command">
|
|
|
39 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
|
40 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
|
41 </action>
|
|
|
42 <action type="set_environment">
|
|
|
43 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
44 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
|
45 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
|
46 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
47 </action>
|
|
|
48 </actions>
|
|
|
49 </install>
|
|
|
50 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
|
|
|
51 </package>
|
|
|
52 </tool_dependency>
|