From 9088b0df27f19f0385b69c95530411d61bb574be Mon Sep 17 00:00:00 2001 From: geisserml Date: Sun, 29 Oct 2023 16:30:29 +0100 Subject: [PATCH] nits --- docs/devel/changelog_staging.md | 1 + setupsrc/pypdfium2_setup/packaging_base.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index 84ca32c93..5f2e0507d 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -8,6 +8,7 @@ - Merged conda packaging code. The packages build, but there is no CI integration yet. - Updated setup code, mainly to support conda. * Independent bindings cache. Download headers from pdfium. Extract archive members explicitly. + * Cleaned up version integration of sourcebuild. * Changed `system` platform to generate files according to given version, instead of expecting given files. * Added `provided!` prefix to platform spec, allowing to install with given files. * Added `PDFIUM_BINDINGS=reference` to use pre-built bindings when installing from source. diff --git a/setupsrc/pypdfium2_setup/packaging_base.py b/setupsrc/pypdfium2_setup/packaging_base.py index 1ec129f98..229c71c56 100644 --- a/setupsrc/pypdfium2_setup/packaging_base.py +++ b/setupsrc/pypdfium2_setup/packaging_base.py @@ -141,7 +141,7 @@ def _get_version_conv(): return to_full @staticmethod - def to_full(v_short, type=dict): # XXX origin + def to_full(v_short, type=dict): v_short = int(v_short) ver_dict = PdfiumVer._get_version_conv()