From 403ebd2ddf5868fe6f79604a0cda4c50bda57ff9 Mon Sep 17 00:00:00 2001 From: leohsiao Date: Sat, 5 Oct 2024 17:24:02 +0800 Subject: [PATCH] [doc] update docs to v2.15.0 --- .github/workflows/test_package.yml | 6 +++--- docs/Tutorial-cn.md | 5 ++++- docs/Tutorial.md | 5 ++++- pyexiv2/__init__.py | 2 +- setup.py | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index 8664864..f0e52af 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -24,7 +24,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==2.14.0 + python -m pip install pyexiv2==2.15.0 python -m pip install pytest psutil - name: Test run: | @@ -50,7 +50,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==2.14.0 + python -m pip install pyexiv2==2.15.0 python -m pip install pytest psutil - name: Test run: | @@ -77,7 +77,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==2.14.0 + python -m pip install pyexiv2==2.15.0 python -m pip install pytest psutil - name: Test run: | diff --git a/docs/Tutorial-cn.md b/docs/Tutorial-cn.md index b74a134..e1e7cca 100644 --- a/docs/Tutorial-cn.md +++ b/docs/Tutorial-cn.md @@ -61,6 +61,9 @@ class Image: def __init__(self, filename, encoding='utf-8') def close(self) + + def get_pixel_width (self) -> int + def get_pixel_height(self) -> int def get_mime_type (self) -> str def get_access_mode (self) -> dict @@ -108,7 +111,7 @@ def convert_iptc_to_xmp(data: dict, encoding='utf-8') -> dict def convert_xmp_to_exif(data: dict, encoding='utf-8') -> dict def convert_xmp_to_iptc(data: dict, encoding='utf-8') -> dict -__version__ = '2.14.0' +__version__ = '2.15.0' __exiv2_version__ = '0.28.3' ``` diff --git a/docs/Tutorial.md b/docs/Tutorial.md index 095d151..465da9d 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -61,6 +61,9 @@ Language: [English](./Tutorial.md) | [中文](./Tutorial-cn.md) class Image: def __init__(self, filename, encoding='utf-8') def close(self) + + def get_pixel_width (self) -> int + def get_pixel_height(self) -> int def get_mime_type (self) -> str def get_access_mode (self) -> dict @@ -108,7 +111,7 @@ def convert_iptc_to_xmp(data: dict, encoding='utf-8') -> dict def convert_xmp_to_exif(data: dict, encoding='utf-8') -> dict def convert_xmp_to_iptc(data: dict, encoding='utf-8') -> dict -__version__ = '2.14.0' +__version__ = '2.15.0' __exiv2_version__ = '0.28.3' ``` diff --git a/pyexiv2/__init__.py b/pyexiv2/__init__.py index fed78d8..5188064 100644 --- a/pyexiv2/__init__.py +++ b/pyexiv2/__init__.py @@ -6,7 +6,7 @@ from .core import * -__version__ = '2.14.0' +__version__ = '2.15.0' __exiv2_version__ = exiv2api.version() diff --git a/setup.py b/setup.py index efe1ad3..ec07e77 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='pyexiv2', - version='2.14.0', # need to set the variable in 'pyexiv2/__init__.py' + version='2.15.0', # need to set the variable in 'pyexiv2/__init__.py' author='LeoHsiao', author_email='leohsiao@foxmail.com', description='Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.',