0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
3
|
4 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="freetype" version="2.4.11">
|
|
7 <repository changeset_revision="8761091302c4" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
3
|
9 <package name="libpng" version="1.6.7">
|
|
10 <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
0
|
12 <package name="matplotlib" version="1.2.1">
|
|
13 <install version="1.0">
|
|
14 <actions>
|
|
15 <!-- first action is always downloading -->
|
|
16 <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
|
|
17
|
|
18 <!-- populate the environment variables from the dependend repos -->
|
|
19 <action type="set_environment_for_install">
|
3
|
20 <repository changeset_revision="ef12a3a11d5b" name="package_numpy_1_7" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
0
|
21 <package name="numpy" version="1.7.1" />
|
|
22 </repository>
|
|
23 <repository changeset_revision="8761091302c4" name="package_freetype_2_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
24 <package name="freetype" version="2.4.11" />
|
|
25 </repository>
|
3
|
26 <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
27 <package name="libpng" version="1.6.7" />
|
|
28 </repository>
|
0
|
29 </action>
|
|
30
|
|
31 <!-- install matplotlib -->
|
|
32 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
33 <action type="shell_command">
|
|
34 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &&
|
3
|
35 export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/:${LIBPNG_ROOT}/include &&
|
|
36 export LIBRARY_PATH=$FREETYPE_LIB_DIR:${LIBPNG_ROOT}/lib &&
|
0
|
37 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
38 </action>
|
|
39 <action type="set_environment">
|
2
|
40 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
41 <environment_variable action="prepend_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
0
|
42 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
43 <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
|
|
44 </action>
|
|
45 </actions>
|
|
46 </install>
|
3
|
47 <readme>Compiling matplotlib requires a C compiler (typically gcc). To gain addidtiona performance pleae make sure you have ATLAS and BLAS installed.</readme>
|
0
|
48 </package>
|
|
49 </tool_dependency>
|