From cf817e35cd1a4252345726e0bb55196a21c5c3ed Mon Sep 17 00:00:00 2001 From: geisserml Date: Sat, 30 Sep 2023 15:20:40 +0200 Subject: [PATCH] Make check-wheel-contents happy, update changelog --- docs/devel/changelog_staging.md | 3 ++- run | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index 6c968eac1..c6e76badd 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -6,7 +6,8 @@ # Changelog for next release - `PdfTextPage.get_text_range()`: Correct the allocation in case of excluded/inserted chars, modify scope to prevent pdfium from reading beyond `range(index, index+count)` (which otherwise it does with leading excluded chars). Update docs to note the two different representations. Thanks to Nikita Rybak for the discovery ({issue}`261`). - ctypesgen fork: replaced the old library loader with a new, lean version -- Ported setup changes from the devel branch. +- Setup changes (partly ported from the devel branch) * Replaced the env vars `$PDFIUM_PLATFORM`, `$PDFIUM_VERSION` and `$PDFIUM_USE_V8` by the compound `$PDFIUM_BINARY` specifier (see the Readme for description). The setup API breakage was considered tolerable; the core library API is not affected. * Removed the `build` package from pyproject buildsystem requires, where it was unnecessary. Thanks to Anaconda Team. + * Split in two separate modules: pypdfium2 for helpers (pure-python), pypdfium2_raw for the core bindings (data files). - Switched PyPI upload to "trusted publishing" (OIDC), which is considered safer. Further, the core maintainers have set up 2FA as requested by PyPI. diff --git a/run b/run index c82c9ca13..cb092f7ff 100755 --- a/run +++ b/run @@ -28,7 +28,7 @@ function packaging() { twine check dist/* # ignore W002: erroneous detection of __init__.py files as duplicates - check-wheel-contents dist/*.whl --ignore W002 + check-wheel-contents dist/*.whl --ignore W002 --toplevel "pypdfium2,pypdfium2_raw" } set -x