""" PyInstaller hook to exclude enum34. enum34 is an obsolete backport of Python's enum module for Python 2.7 and 3.3. It is incompatible with Python 3.4+ and PyInstaller. Since we require Python 3.9+, enum is part of the stdlib and enum34 is not needed. """ # Exclude enum34 completely from the build excludedimports = ['enum34']