0
|
1 <tool_dependency>
|
1
|
2 <!-- ToDo: numpy dependency, install numpy beforehand.
|
|
3 -->
|
3
|
4 <package name="numpy" version="1.7.1">
|
4
|
5 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c3041382815c" prior_installation_required="True" />
|
3
|
6 </package>
|
1
|
7 <package name="matplotlib" version="1.2.1">
|
0
|
8 <install version="1.0">
|
|
9 <actions>
|
|
10 <action type="download_by_url">https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
|
1
|
11 <action type="shell_command">wget http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action>
|
|
12 <action type="shell_command">tar xfvj freetype-2.4.11.tar.bz2 &&
|
|
13 cd freetype-2.4.11 &&
|
2
|
14 ./configure --prefix=$INSTALL_DIR/freetype/build &&
|
|
15 make &&
|
1
|
16 make install</action>
|
0
|
17 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
1
|
18 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
19 export CPLUS_INCLUDE_PATH=$INSTALL_DIR/freetype/build/include:$INSTALL_DIR/freetype/build/include/freetype2/ &&
|
|
20 export LIBRARY_PATH=$INSTALL_DIR/freetype/build/lib/ &&
|
|
21 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
|
0
|
22 <action type="set_environment">
|
|
23 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
|
|
24 </action>
|
|
25 </actions>
|
|
26 </install>
|
3
|
27 <readme>Compiling matplotlib requires a C compiler (typically gcc), freetype2, numpy and libpng.</readme>
|
0
|
28 </package>
|
|
29 </tool_dependency>
|