Add py.typed file (#1970)

This commit is contained in:
Trevor Bekolay 2020-11-19 04:18:25 -05:00 committed by GitHub
parent ec10f337b6
commit 63567c2ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 0 deletions

1
changelogs/1970.misc.rst Normal file
View File

@ -0,0 +1 @@
Adds py.typed file to expose type information to other packages.

0
sanic/py.typed Normal file
View File

View File

@ -57,6 +57,7 @@ setup_kwargs = {
),
"long_description": long_description,
"packages": ["sanic"],
"package_data": {"sanic": ["py.typed"]},
"platforms": "any",
"python_requires": ">=3.6",
"classifiers": [