From 3575cc6d0df9e356edc1cd3d49516d066d1ad465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ianar=C3=A9=20S=C3=A9vi?= Date: Sun, 8 May 2022 18:41:35 +0200 Subject: [PATCH] version 3.0.0 --- ChangeLog.rst | 21 ++++++++------------- Makefile | 9 +++++++++ README.rst | 10 ++++------ setup.py | 4 ++-- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 8ff5ff90..424d56c3 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -2,10 +2,16 @@ Change Log ********** -3.0.0 — 2020-xx-xx +3.0.0 — 2022-05-08 * **BREAKING CHANGE:** Add type hints, which removes Python2 compatibility * Update make_string util to clean up bad values (#128) by Étienne Pelletier - + * Fix Olympus SpecialMode Unknown Values (#143) by Paul Barton + * Remove coding system from UserComment sequence only if it is valid (#147) by Grzegorz Ruciński + * Fixes to orientation by Mark + * Add some EXIF tags + * Add support for PNG files (#159) by Marco + * Fix for HEIC Unknown Parsers (#153) by Paul Barton + * Handle images that has corrupted headers/tags (#152) by Mahmoud Harmouch 2.3.2 — 2020-10-29 * Fixes for HEIC files from Note10+ (#127) by Drew Perttula @@ -254,14 +260,3 @@ Patch Contributors: 1999-08-21 TB * Last update by Thierry Bousch to his code. - - - - - - - - - - - diff --git a/Makefile b/Makefile index df90995f..49f4ef51 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ ifneq (,$(wildcard /.dockerenv)) PIP_BIN := /usr/local/bin/pip3 PYLINT_BIN := ~/.local/bin/pylint MYPY_BIN := ~/.local/bin/mypy + TWINE_BIN := ~/.local/bin/twine PIP_INSTALL := $(PIP_BIN) install --progress-bar=off --user else VENV_DIR := ./.venv @@ -11,6 +12,7 @@ else PIP_BIN := $(VENV_DIR)/bin/pip3 PYLINT_BIN := $(VENV_DIR)/bin/pylint MYPY_BIN := $(VENV_DIR)/bin/mypy + TWINE_BIN := $(VENV_DIR)/bin/twine PIP_INSTALL := $(PIP_BIN) install --progress-bar=off endif @@ -38,6 +40,13 @@ samples-download: ## Install sample files used for testing. wget https://github.com/ianare/exif-samples/archive/master.tar.gz tar -xzf master.tar.gz +build: ## build distribution + rm -fr ./dist + $(PYTHON_BIN) setup.py sdist + +publish: build ## Publish to PyPI + $(TWINE_BIN) upload --repository testpypi dist/* + help: Makefile @echo @echo "Choose a command to run:" diff --git a/README.rst b/README.rst index 7d9272ed..fcffd9d7 100644 --- a/README.rst +++ b/README.rst @@ -2,12 +2,9 @@ EXIF.py ******* -.. image:: https://travis-ci.org/ianare/exif-py.png - :target: https://travis-ci.org/ianare/exif-py - Easy to use Python module to extract Exif metadata from digital image files. -Supported formats: TIFF, JPEG, Webp, HEIC +Supported formats: TIFF, JPEG, PNG, Webp, HEIC Compatibility @@ -15,8 +12,7 @@ Compatibility EXIF.py is tested and officially supported on Python 3.5 to 3.10 -Starting with version ``3.0.0``, Python2 compatibility is dropped *completely* -(syntax errors due to type hinting). +Starting with version ``3.0.0``, Python2 compatibility is dropped *completely* (syntax errors due to type hinting). https://pythonclock.org/ @@ -33,6 +29,8 @@ as it allows easily staying up to date:: See the `pip documentation `_ for more info. +EXIF.py is mature software and strives for stability. + Development Version =================== diff --git a/setup.py b/setup.py index 0bf67438..e1c3f499 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ readme_file = open("README.rst", "rt").read() dev_requirements = [ - "mypy==0.931", - "pylint==2.12.2", + "mypy==0.950", + "pylint==2.13.8", ] setup(