We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4aa964 commit ed91e91Copy full SHA for ed91e91
setup.py
@@ -15,7 +15,8 @@
15
except AttributeError:
16
pass
17
18
-graphical_backend = False
+# skip gui backends if DISABLE_MPL_GUI is defined with any non-empty value
19
+graphical_backend = not (os.environ.get('DISABLE_MPL_GUI', False))
20
21
# This dict will be updated as we try to select the best option during
22
# the build process. However, values in setup.cfg will be used, if
0 commit comments