From 89a64272b1884f9fe6cdf9b79692ca35c26319df Mon Sep 17 00:00:00 2001 From: Roman Inflianskas Date: Mon, 25 Jul 2022 19:57:28 +0300 Subject: [PATCH] Make package PEP 561 compatible --- MANIFEST.in | 2 ++ aiven/client/py.typed | 0 setup.py | 1 + 3 files changed, 3 insertions(+) create mode 100644 aiven/client/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index f236059b..2e2eefca 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ +global-include *.typed + include aiven/*.py include tests/*.py include scripts/* diff --git a/aiven/client/py.typed b/aiven/client/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index 728c0f6e..af45350e 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ license="Apache 2.0", name="aiven-client", packages=find_packages(exclude=["tests"]), + package_data={"aiven.client": ["py.typed"]}, platforms=["POSIX", "MacOS", "Windows"], description="Aiven.io client library / command-line client", long_description=open("README.rst").read(),