From fe400bec646e34c77ef4c1a4c888a7d7aa145fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ianar=C3=A9=20S=C3=A9vi?= Date: Thu, 17 Jul 2025 23:04:10 +0200 Subject: [PATCH] fix imports --- README.rst | 12 +++++++++--- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 5e28d7e..12534b3 100644 --- a/README.rst +++ b/README.rst @@ -136,19 +136,25 @@ Pass the ``-q`` or ``--quick`` command line arguments, or as: .. code-block:: python - tags = exifread.process_file(file_handle, details=False, extract_thumbnail=False) + tags = exifread.process_file( + file_handle, details=False, extract_thumbnail=False + ) To process makernotes only, without extracting the thumbnail image (if any): .. code-block:: python - tags = exifread.process_file(file_handle, details=True, extract_thumbnail=False) + tags = exifread.process_file( + file_handle, details=True, extract_thumbnail=False + ) To extract the thumbnail image (if any), without processing makernotes: .. code-block:: python - tags = exifread.process_file(file_handle, details=False, extract_thumbnail=True) + tags = exifread.process_file( + file_handle, details=False, extract_thumbnail=True + ) Stop at a Given Tag =================== diff --git a/pyproject.toml b/pyproject.toml index 241ef8d..a0bdbb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ Changelog = "https://github.com/ianare/exif-py/blob/master/ChangeLog.rst" [tool.setuptools.packages.find] -include = ["exifread"] +include = ["exifread*"] exclude = ["tests"]