From 9e9170b77171b5575a94ef67385e42d45faba292 Mon Sep 17 00:00:00 2001 From: Steve Canny Date: Mon, 5 Aug 2024 10:01:49 -0700 Subject: [PATCH] fix(type): add py.typed Indicate availability of type annotations to type-checkers. --- HISTORY.rst | 6 ++++++ src/pptx/__init__.py | 2 +- src/pptx/py.typed | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/pptx/py.typed diff --git a/HISTORY.rst b/HISTORY.rst index 6f0835045..b330da107 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,12 @@ Release History --------------- +1.0.1 (2024-08-05) +++++++++++++++++++ + +- fix: #1000 add py.typed + + 1.0.0 (2024-08-03) ++++++++++++++++++ diff --git a/src/pptx/__init__.py b/src/pptx/__init__.py index 3baec7376..aaf9cce06 100644 --- a/src/pptx/__init__.py +++ b/src/pptx/__init__.py @@ -25,7 +25,7 @@ if TYPE_CHECKING: from pptx.opc.package import Part -__version__ = "1.0.0" +__version__ = "1.0.1" sys.modules["pptx.exceptions"] = exceptions del sys diff --git a/src/pptx/py.typed b/src/pptx/py.typed new file mode 100644 index 000000000..e69de29bb