# Promotion packet audit — the local stack, no more.
#
# Deliberately NOT included: pypdfium2. Page rendering goes through PyMuPDF's
# get_pixmap, so it would be a dependency we never call.
#
# Nothing here talks to the internet at audit time. This install is the only step
# that needs a connection; after it, the tool runs fully offline. Both OCR
# packages ship their model files inside the wheel, so there is no first-run
# download either.
#
# There are two OCR packages because Python version decides which one you can
# have. `rapidocr-onnxruntime` is the original and stops at Python 3.12;
# `rapidocr` is its successor and is the only one that installs on 3.13 and
# newer. The markers below pick the right one automatically — do not collapse
# these into a single unpinned line, or setup breaks on one Python or the other.
PyMuPDF==1.28.2

rapidocr-onnxruntime==1.4.4; python_version < "3.13"

# The successor package does not declare its inference engine, so on 3.13+ the
# ONNX runtime has to be named explicitly.
rapidocr==3.9.2; python_version >= "3.13"
onnxruntime==1.30.0; python_version >= "3.13"
