38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Blurb - Python dependencies
|
|
# Direct dependencies only; transitive deps are pinned below for reproducibility.
|
|
#
|
|
# python -m venv .venv
|
|
# .venv\Scripts\python.exe -m pip install -r requirements.txt
|
|
#
|
|
# Verified on Windows 10 IoT Enterprise LTSC (build 19044), Python 3.12.0.
|
|
|
|
# --- Direct dependencies ---
|
|
|
|
# Measure images, read EXIF orientation, do the cover-crop/contain resize.
|
|
pillow==12.3.0
|
|
|
|
# Embed JPEG bytes into a PDF losslessly - no re-encode, so no second
|
|
# generation of compression. Best fit for a photo book.
|
|
img2pdf==0.6.3
|
|
|
|
# Programmatic page layout: captions, multi-image pages, margins, page numbers.
|
|
reportlab==5.0.1
|
|
|
|
# Inspect and render finished PDFs (page count, MediaBox, page -> PNG preview).
|
|
# Replaces the Ghostscript dependency, which is NOT installed on this machine -
|
|
# without this, ImageMagick cannot read a PDF at all.
|
|
pymupdf==1.28.2
|
|
|
|
# --- Transitive, pinned for reproducibility ---
|
|
|
|
# pulled in by pikepdf
|
|
lxml==6.1.3
|
|
pikepdf==10.16.0
|
|
|
|
# pulled in by reportlab
|
|
charset-normalizer==3.5.2
|
|
|
|
# build tooling
|
|
packaging==26.3
|
|
setuptools==84.0.0
|
|
wheel==0.48.0 |