From 55b23c0587c5bd8286b10b688cecb142b6fd924a Mon Sep 17 00:00:00 2001 From: Shyam Kumar Date: Tue, 8 Sep 2026 23:39:23 +0530 Subject: [PATCH] feat: add PEP 561 py.typed marker to support mypy type analysis (#563) --- MANIFEST.in | 1 + setup.py | 1 + src/aws_encryption_sdk/py.typed | 1 + 3 files changed, 3 insertions(+) create mode 100644 src/aws_encryption_sdk/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 76c7654d8..4d89cab64 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,6 +3,7 @@ include CHANGELOG.rst include CONTRIBUTING.rst include LICENSE include requirements.txt +include src/aws_encryption_sdk/py.typed recursive-include doc * recursive-include test *.py diff --git a/setup.py b/setup.py index fb249a3f6..ef36c03f7 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ def get_requirements(): name="aws-encryption-sdk", packages=find_packages("src"), package_dir={"": "src"}, + package_data={"aws_encryption_sdk": ["py.typed"]}, version=get_version(), author="Amazon Web Services", maintainer="Amazon Web Services", diff --git a/src/aws_encryption_sdk/py.typed b/src/aws_encryption_sdk/py.typed new file mode 100644 index 000000000..b648ac923 --- /dev/null +++ b/src/aws_encryption_sdk/py.typed @@ -0,0 +1 @@ +partial