forked from pool/python-matplotlib
47443e9f1a
- Work on unit testing * Move architecture selection to bcond definition at top of specfile. This makes it clear in the OBS web UI that the test flavor is only built for x86_64 and aarch64 * do not build everything a second time during check (in-place) * instead use new subpackage testdata wich contains the baseline images created at regular build time * use pytest-xvfb and %pytest macro (buildroot path actually not required) * tidy test skip definitions * add python-gobject-Gdk to pass the gtk3 backend testso - include version for obsoletes -qt-shared (rpmlint warning) - move some cairo files to backend packages - remove python2 transition requirements mock and six - update matplotlib-setup.cfg OBS-URL: https://build.opensuse.org/request/show/821989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=34
41 lines
1.4 KiB
INI
41 lines
1.4 KiB
INI
# Rename this file to setup.cfg to modify Matplotlib's build options.
|
|
|
|
[egg_info]
|
|
|
|
[libs]
|
|
# By default, Matplotlib builds with LTO, which may be slow if you re-compile
|
|
# often, and don't need the space saving/speedup.
|
|
#enable_lto = True
|
|
# By default, Matplotlib downloads and builds its own copy of FreeType, and
|
|
# builds its own copy of Qhull. You may set the following to True to instead
|
|
# link against a system FreeType/Qhull.
|
|
#system_freetype = False
|
|
#system_qhull = False
|
|
|
|
[packages]
|
|
# There are a number of data subpackages from Matplotlib that are
|
|
# considered optional. All except 'tests' data (meaning the baseline
|
|
# image files) are installed by default, but that can be changed here.
|
|
tests = True
|
|
sample_data = True
|
|
|
|
[gui_support]
|
|
# Matplotlib supports multiple GUI toolkits, known as backends.
|
|
# The MacOSX backend requires the Cocoa headers included with XCode.
|
|
# You can select whether to build it by uncommenting the following line.
|
|
# It is never built on Linux or Windows, regardless of the config value.
|
|
#
|
|
#macosx = True
|
|
|
|
[rc_options]
|
|
# User-configurable options
|
|
#
|
|
# Default backend, one of: Agg, Cairo, GTK3Agg, GTK3Cairo, MacOSX, Pdf, Ps,
|
|
# Qt4Agg, Qt5Agg, SVG, TkAgg, WX, WXAgg.
|
|
#
|
|
# The Agg, Ps, Pdf and SVG backends do not require external dependencies. Do
|
|
# not choose MacOSX if you have disabled the relevant extension modules. The
|
|
# default is determined by fallback.
|
|
#
|
|
#backend = Agg
|