import logging

logging.basicConfig(level=logging.WARNING)

import logging

# These are required to activate the cx_Freeze hooks
import matplotlib
import matplotlib.backends.backend_qt5agg
import PyQt5.QtPrintSupport

logging.basicConfig(level=logging.WARNING)

Add imports imports to trigger cx_Freeze hooks