From 7bc67846a34415845f5f09b688227965e32adb64 Mon Sep 17 00:00:00 2001 From: Aniruddha Maru Date: Fri, 26 Feb 2021 18:18:26 -0800 Subject: [PATCH] Add py.typed export per PEP 561 (#925) So that type testing tools like mypy can actually use type annotations --- arrow/py.typed | 0 setup.py | 1 + 2 files changed, 1 insertion(+) create mode 100644 arrow/py.typed diff --git a/arrow/py.typed b/arrow/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/setup.py b/setup.py index c25b782ca..14dff60db 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ author_email="crsmithdev@gmail.com", license="Apache 2.0", packages=["arrow"], + package_data={"arrow": ["py.typed"]}, zip_safe=False, python_requires=">=3.6", install_requires=[