[Matplotlib-devel] how not to install backend_gtk{,agg}
Sandro Tosi
morph at debian.org
Wed Dec 27 16:45:32 EST 2017
oh yes youre right! i'll set gtk/gtkagg to false in the gui_support
section and see how that goes - thanks!
On Wed, Dec 27, 2017 at 4:40 PM, Antony Lee <antony.lee at berkeley.edu> wrote:
> I believe that setting setup.cfg accordingly is the way to go.
> setup.cfg.template in the source tree includes the relevant instructions.
> Antony
>
> 2017-12-27 13:30 GMT-08:00 Sandro Tosi <morph at debian.org>:
>>
>> Hello folks!
>> in Debian we're trying to phase out GTK2 and all its bindings,
>> including python-gtk2 and python-glade2
>>
>> it looks like those modules are only used in backend_gtk{,agg}.py, so
>> i had a quick look on how to stop installing those backends (we
>> already provide the Gtk3 Cairo/Agg backends anyway)
>>
>> Is there any better way than to comment setupext.BackendGtkAgg() and
>> setupext.BackendGtk() from setup.py (full disclosure, i havent tried
>> it yet if it actually works)? they seem to just check if the `gtk`
>> module is importable, but i dont want to rely on that module not being
>> available (as in this transition phase, it is possible other packages
>> still depend on it, pulling it in the installed pkgs and thus enable
>> it implicitly for mpl)
>>
>> thanks!
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Matplotlib-devel at python.org
>> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
>
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi
More information about the Matplotlib-devel
mailing list