mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
We have a tool_shed directory in lib, so if we enter a test case from some path and test/tool_shed happens to be a valid python top-level module - it blocks out lib/tool_shed and Galaxy doesn't work properly in the test. A similar problem was encountered with unit tests and fixed with https://github.com/galaxyproject/galaxy/commit/df442a06382f23bdf0401bdd632b9584d3431281 - but I have decided that directory name was a bit log and so this commit unifies the approach to unit and functional test names for tool shed tests.
26 lines
1.6 KiB
XML
26 lines
1.6 KiB
XML
<tool_dependency>
|
|
<!--NUMPY-->
|
|
<package name="matplotlib" version="1.2.1">
|
|
<install version="1.0">
|
|
<actions>
|
|
<action type="download_by_url">https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</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), freetype2, numpy and libpng.</readme>
|
|
</package>
|
|
</tool_dependency>
|