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