From a7e5aa37b1ea2d855790f666ecf629bf1c003004 Mon Sep 17 00:00:00 2001 From: geisserml Date: Thu, 9 Nov 2023 19:04:51 +0100 Subject: [PATCH] readme/install-system-caller: revise origin again This amends 9ca64b9ad49d119046a3db480135d4616fe3b48a. --- README.md | 7 ++++--- setupsrc/pypdfium2_setup/packaging_base.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6fcc4e3ca..097ec6c0f 100644 --- a/README.md +++ b/README.md @@ -96,10 +96,11 @@ pypdfium2 includes helpers to simplify common use cases, while the raw PDFium/ct # Reminder: you'll want to use the pypdfium2-team fork of ctypesgen ctypesgen --library pdfium --runtime-libdirs $MY_LIBDIRS --headers $MY_INCLUDE_DIR/fpdf*.h -o src/pypdfium2_raw/bindings.py --strip-build-path=. --no-srcinfo [-D $MY_FLAGS] - # Write the version file (substitute placeholders accordingly) + # Write the version file (fill the placeholders). + # Note, this is not a mature interface yet and might change! # major/minor/build/patch: integers forming the pdfium version being packaged # n_commits/hash: git describe like post-tag info (0/null for release commit) - # origin: a string to identify the build, consisting of loader strategy (e.g. system, bundled, custom) and binary provider (e.g. pdfium-binaries, distro name) separated by a slash (e.g. "system/debian" if using system pdfium provided by debian) + # origin: a string to identify the build, consisting of binary source and package provider (e.g. "system/debian", "pdfium-binaries/debian") # flags: a comma-delimited list of pdfium feature flag strings (e.g. "V8", "XFA") - may be empty for default build cat >"src/pypdfium2_raw/version.json" <