comparison tool_dependencies.xml @ 2:c5fbe4aa5a74

Uploaded
author bgruening
date Fri, 12 Apr 2013 13:45:15 -0400
parents c5f0d2504e45
children c3041382815c
comparison
equal deleted inserted replaced
1:c5f0d2504e45 2:c5fbe4aa5a74
1 <tool_dependency> 1 <tool_dependency>
2 <!-- ToDo: numpy dependency, install numpy beforehand.
3 -->
2 <package name="numpy" version="1.7.1"> 4 <package name="numpy" version="1.7.1">
5 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c5f0d2504e45" />
6 </package>
7 <package name="matplotlib" version="1.2.1">
3 <install version="1.0"> 8 <install version="1.0">
4 <actions> 9 <actions>
5 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action> 10 <action type="download_by_url">https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
11 <action type="shell_command">wget http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action>
12 <action type="shell_command">tar xfvj freetype-2.4.11.tar.bz2 &amp;&amp;
13 cd freetype-2.4.11 &amp;&amp;
14 ./configure --prefix=$INSTALL_DIR/freetype/build &amp;&amp;
15 make &amp;&amp;
16 make install</action>
6 <action type="make_directory">$INSTALL_DIR/lib/python</action> 17 <action type="make_directory">$INSTALL_DIR/lib/python</action>
7 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> 18 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
19 export CPLUS_INCLUDE_PATH=$INSTALL_DIR/freetype/build/include:$INSTALL_DIR/freetype/build/include/freetype2/ &amp;&amp;
20 export LIBRARY_PATH=$INSTALL_DIR/freetype/build/lib/ &amp;&amp;
21 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
8 <action type="set_environment"> 22 <action type="set_environment">
9 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable> 23 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
10 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
11 </action> 24 </action>
12 </actions> 25 </actions>
13 </install> 26 </install>
14 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran).</readme> 27 <readme>Compiling matplotlib requires a Ccompiler (typically gcc), freetype2, numpy and libpng.</readme>
15 </package> 28 </package>
16 </tool_dependency> 29 </tool_dependency>