command: pyinstaller -n paddleocrtest --distpath=/paddle/PaddleOCR/dist --clean --onefile --hidden-import imghdr --hidden-import imgaug --hidden-import pyclipper ...
One of our dependencies idna recently updated to a new version 3.4, for their 3.4 release they moved to using pyproject.toml. As part of this they moved from setuptools to flit as the build backend.