22
|
1 <?xml version="1.0"?>
|
0
|
2 <tool_dependency>
|
9
|
3 <package name="numpy" version="1.7.1">
|
23
|
4 <repository changeset_revision="1aa6410e151b" name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
9
|
5 </package>
|
|
6 <package name="freetype" version="2.4.11">
|
22
|
7 <repository changeset_revision="4e54e357ac25" name="package_freetype_2_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
9
|
8 </package>
|
1
|
9 <package name="matplotlib" version="1.2.1">
|
0
|
10 <install version="1.0">
|
|
11 <actions>
|
19
|
12 <!-- first action is always downloading -->
|
15
|
13 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
|
|
14
|
19
|
15 <!-- populate the environment variables from the dependend repos -->
|
17
|
16 <action type="set_environment_for_install">
|
23
|
17 <repository changeset_revision="1aa6410e151b" name="package_numpy_1_7" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
19
|
18 <package name="numpy" version="1.7.1" />
|
|
19 </repository>
|
7
|
20 </action>
|
17
|
21 <action type="set_environment_for_install">
|
22
|
22 <repository changeset_revision="4e54e357ac25" name="package_freetype_2_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
19
|
23 <package name="freetype" version="2.4.11" />
|
|
24 </repository>
|
8
|
25 </action>
|
15
|
26
|
19
|
27 <!-- install matplotlib -->
|
0
|
28 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
20
|
29 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &&
|
18
|
30 export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/ &&
|
12
|
31 export LIBRARY_PATH=$FREETYPE_LIB_DIR &&
|
1
|
32 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
0
|
33 <action type="set_environment">
|
22
|
34 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
0
|
35 </action>
|
|
36 </actions>
|
|
37 </install>
|
7
|
38 <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
|
0
|
39 </package>
|
|
40 </tool_dependency>
|