Files
aufbau2csv/venv3_12/Lib/site-packages/cx_Freeze/hooks/pymupdf.py

17 lines
469 B
Python

"""A collection of functions which are triggered automatically by finder when
pymupdf package is included.
"""
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from cx_Freeze.finder import ModuleFinder
from cx_Freeze.module import Module
def load_pymupdf(finder: ModuleFinder, module: Module) -> None: # noqa: ARG001
"""The pymupdf must include mupdf."""
finder.include_module("pymupdf.mupdf")