view tool_dependencies.xml @ 14:27be143d844e

Uploaded
author bgruening
date Thu, 25 Apr 2013 03:48:33 -0400
parents 6431751c9e89
children 783a14714c2f
line wrap: on
line source

<tool_dependency>
    <!--
    numpy tool dependency required for matplotlib compilation, ensure the package_numpy_1_7 repository is installed before this repository. 
    -->
    <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" prior_installation_required="True" />
    </package>
    <package name="freetype" version="2.4.11">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_freetype_2_4" owner="bgruening" changeset_revision="4e54e357ac25" prior_installation_required="True" />
    </package>
    <package name="matplotlib" version="1.2.1">
        <install version="1.0">
            <actions>
                <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="set_environmnet_for_install">
                    <package name="freetype" version="2.4.11">
                        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_freetype_2_4" owner="bgruening" changeset_revision="4e54e357ac25" />
                    </package>
                </action>
                <action type="make_directory">echo $FREETYPE_INCLUDE_DIR</action>
                <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="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                    export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIRfreetype2/ &amp;&amp; 
                    export LIBRARY_PATH=$FREETYPE_LIB_DIR &amp;&amp; 
                    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>