Fix py-matplotlib build (#12230) (#12234)

This commit is contained in:
Seth R. Johnson 2019-08-01 18:58:06 -04:00 committed by Adam J. Stewart
parent 46027bea13
commit 68d78c0dbe

View File

@ -139,6 +139,8 @@ def set_cc(self):
def set_backend(self):
"""Set build options with regards to backend GUI libraries."""
backend = self.spec.variants['backend'].value
with open('setup.cfg', 'w') as setup:
# Default backend
setup.write('[rc_options]\n')