Skip to content

Commit

Permalink
Add py.typed file (sanic-org#1970)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay authored Nov 19, 2020
1 parent ec10f33 commit 63567c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/1970.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds py.typed file to expose type information to other packages.
Empty file added sanic/py.typed
Empty file.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def open_local(paths, mode="r", encoding="utf8"):
),
"long_description": long_description,
"packages": ["sanic"],
"package_data": {"sanic": ["py.typed"]},
"platforms": "any",
"python_requires": ">=3.6",
"classifiers": [
Expand Down

0 comments on commit 63567c2

Please sign in to comment.