Mercurial > repos > fubar > package_matplotlib_lite
changeset 0:299e25f1e7a4 draft
Uploaded
author | fubar |
---|---|
date | Thu, 13 Jun 2013 07:35:17 -0400 |
parents | |
children | 325c4a491de4 |
files | package_matplotlib_lite/tool_dependencies.xml |
diffstat | 1 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/package_matplotlib_lite/tool_dependencies.xml Thu Jun 13 07:35:17 2013 -0400 @@ -0,0 +1,31 @@ + <package name="matplotlib_lite" version="1.2.1"> + <install version="1.0"> + <actions> + <!-- this lite version is derived from Bjorn's but DOES not compile atlas - this will fail on many desktop distributions because of cpu throttling - we use Dan's numpy-lite --> + <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action> + <!-- populate the environment variables from the dependend repos --> + <action type="set_environment_for_install"> + <package name="numpy" toolshed="http://testtoolshed.g2.bx.psu.edu" version="1.7.1"> + <repository name="package_numpy_1_7" owner="blankenberg" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="freetype" toolshed="http://testtoolshed.g2.bx.psu.edu" version="2.4.11"> + <repository name="package_freetype_2_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" /> + </package> + </action> + <!-- install matplotlib --> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="shell_command">echo "### PYTHONPATH = $PYTHONPATH, PYTHONPATH_NUMPY = $PYTHONPATH_NUMPY"</action> + <action type="shell_command">export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY:$PYTHONPATH && + export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/:$CPLUS_INCLUDE_PATH && + export LIBRARY_PATH=$FREETYPE_LIB_DIR:$LIBRARY_PATH && + python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> + <action type="set_environment"> + <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable> + <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable> + <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable> + </action> + </actions> + </install> + <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme> + </package>