From 8946ad54832ae35db0afc82276522e94ff81559b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 13 Jan 2020 21:18:03 +1000 Subject: [PATCH] include py.typed for mypy these builds are now available on https://github.com/ankitects/anki-typecheck The add-on docs will be updated shortly to provide info on using the new hooks and type checking. --- pylib/setup.py | 1 + qt/setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pylib/setup.py b/pylib/setup.py index 253fa4af1..ffb93affd 100644 --- a/pylib/setup.py +++ b/pylib/setup.py @@ -13,6 +13,7 @@ setuptools.setup( url="https://apps.ankiweb.net", packages=setuptools.find_packages(".", exclude=["tests"]), license="License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", + package_data={"anki": ["py.typed"]}, classifiers=[], python_requires=">=3.7", install_requires=[ diff --git a/qt/setup.py b/qt/setup.py index 5530b1d52..9a2fad152 100644 --- a/qt/setup.py +++ b/qt/setup.py @@ -34,6 +34,7 @@ setuptools.setup( license="License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", classifiers=[], python_requires=">=3.7", + package_data={"aqt": ["py.typed"]}, install_requires=[ "beautifulsoup4", "requests",