deploy-ng: add hidden imports for matplotlib

This commit is contained in:
rdb 2018-05-13 23:32:46 +02:00
parent 126f4bc418
commit f34d4c4851

View File

@ -75,8 +75,15 @@ hiddenImports = {
'xml.etree.cElementTree': ['xml.etree.ElementTree'],
'datetime': ['_strptime'],
'keyring.backends': ['keyring.backends.*'],
'matplotlib.font_manager': ['encodings.mac_roman'],
}
if sys.version_info >= (3,):
hiddenImports['matplotlib.backends._backend_tk'] = ['tkinter']
else:
hiddenImports['matplotlib.backends._backend_tk'] = ['Tkinter']
# These are missing modules that we've reported already this session.
reportedMissing = {}