0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
1
|
3 <package name="numpy" version="1.9">
|
|
4 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="freetype" version="2.4.11">
|
1
|
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>
|
|
9 <package name="libpng" version="1.6.7">
|
1
|
10 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
11 </package>
|
1
|
12 <package name="zlib" version="1.2.8">
|
|
13 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
0
|
14 </package>
|
|
15 <package name="matplotlib" version="1.4">
|
1
|
16 <install version="1.0">
|
|
17 <actions>
|
|
18 <!-- first action is always downloading -->
|
0
|
19 <action type="download_by_url">https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745feac1a30b210940c</action>
|
1
|
20
|
0
|
21 <!-- populate the environment variables from the dependend repos -->
|
|
22 <action type="set_environment_for_install">
|
1
|
23 <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
24 <package name="zlib" version="1.2.8" />
|
0
|
25 </repository>
|
|
26 <repository changeset_revision="03eea94e534e" name="package_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
1
|
27 <package name="numpy" version="1.9" />
|
0
|
28 </repository>
|
1
|
29 <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
30 <package name="freetype" version="2.4.11" />
|
0
|
31 </repository>
|
|
32 <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu">
|
1
|
33 <package name="libpng" version="1.6.7" />
|
0
|
34 </repository>
|
|
35 </action>
|
1
|
36
|
0
|
37 <!-- install matplotlib -->
|
|
38 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
39 <action type="shell_command">
|
|
40 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
41 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
42 </action>
|
|
43 <action type="set_environment">
|
1
|
44 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
0
|
45 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
46 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
47 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
|
|
48 </action>
|
|
49 </actions>
|
|
50 </install>
|
|
51 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
|
|
52 </package>
|
|
53 </tool_dependency>
|