Mercurial > repos > bgruening > package_matplotlib_1_2
view tool_dependencies.xml @ 7:26cc4c64292b
Uploaded
author | bgruening |
---|---|
date | Wed, 24 Apr 2013 15:21:23 -0400 |
parents | 4dddf41a0761 |
children | 91729d9aa042 |
line wrap: on
line source
<tool_dependency> <package name="matplotlib" version="1.2.1"> <install version="1.0"> <actions> <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action> <action type="set_environmnet_for_install"> <package name="numpy" version="1.7.1"> <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c3041382815c" /> </package> </action> <action type="shell_command">wget http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action> <action type="shell_command">tar xfvj freetype-2.4.11.tar.bz2 && cd freetype-2.4.11 && ./configure --prefix=$INSTALL_DIR/freetype/build && make && make install</action> <action type="make_directory">$INSTALL_DIR/lib/python</action> <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && export CPLUS_INCLUDE_PATH=$INSTALL_DIR/freetype/build/include:$INSTALL_DIR/freetype/build/include/freetype2/ && export LIBRARY_PATH=$INSTALL_DIR/freetype/build/lib/ && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> <action type="set_environment"> <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable> </action> </actions> </install> <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme> </package> </tool_dependency>