Add py.typed file (#1970)
This commit is contained in:
parent
ec10f337b6
commit
63567c2ae4
1
changelogs/1970.misc.rst
Normal file
1
changelogs/1970.misc.rst
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Adds py.typed file to expose type information to other packages.
|
0
sanic/py.typed
Normal file
0
sanic/py.typed
Normal file
1
setup.py
1
setup.py
|
@ -57,6 +57,7 @@ setup_kwargs = {
|
||||||
),
|
),
|
||||||
"long_description": long_description,
|
"long_description": long_description,
|
||||||
"packages": ["sanic"],
|
"packages": ["sanic"],
|
||||||
|
"package_data": {"sanic": ["py.typed"]},
|
||||||
"platforms": "any",
|
"platforms": "any",
|
||||||
"python_requires": ">=3.6",
|
"python_requires": ">=3.6",
|
||||||
"classifiers": [
|
"classifiers": [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user