<div dir="ltr">I believe that setting setup.cfg accordingly is the way to go.  setup.cfg.template in the source tree includes the relevant instructions.<div>Antony</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-27 13:30 GMT-08:00 Sandro Tosi <span dir="ltr"><<a href="mailto:morph@debian.org" target="_blank">morph@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello folks!<br>
in Debian we're trying to phase out GTK2 and all its bindings,<br>
including python-gtk2 and python-glade2<br>
<br>
it looks like those modules are only used in backend_gtk{,agg}.py, so<br>
i had a quick look on how to stop installing those backends (we<br>
already provide the Gtk3 Cairo/Agg backends anyway)<br>
<br>
Is there any better way than to comment setupext.BackendGtkAgg() and<br>
setupext.BackendGtk() from setup.py (full disclosure, i havent tried<br>
it yet if it actually works)? they seem to just check if the `gtk`<br>
module is importable, but i dont want to rely on that module not being<br>
available (as in this transition phase, it is possible other packages<br>
still depend on it, pulling it in the installed pkgs and thus enable<br>
it implicitly for mpl)<br>
<br>
thanks!<br>
______________________________<wbr>_________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/matplotlib-<wbr>devel</a><br>
</blockquote></div><br></div>