diff --git a/changelogs/1970.misc.rst b/changelogs/1970.misc.rst new file mode 100644 index 00000000..725ecd79 --- /dev/null +++ b/changelogs/1970.misc.rst @@ -0,0 +1 @@ +Adds py.typed file to expose type information to other packages. diff --git a/sanic/py.typed b/sanic/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index ba97188c..f4677215 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ setup_kwargs = { ), "long_description": long_description, "packages": ["sanic"], + "package_data": {"sanic": ["py.typed"]}, "platforms": "any", "python_requires": ">=3.6", "classifiers": [