mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Add py.typed file for enhanced type hinting (#838)
Fixes #781 * fix: add py.typed file Comply with PEP 561 and enable type checkers. Fixes #781. * chore: add py.typed to package_data in setup.py * Style fixes Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This commit is contained in:
parent
b1250e6575
commit
3e79d7dfce
0
pyrogram/py.typed
Normal file
0
pyrogram/py.typed
Normal file
3
setup.py
3
setup.py
@ -172,6 +172,9 @@ setup(
|
|||||||
"Documentation": "https://docs.pyrogram.org",
|
"Documentation": "https://docs.pyrogram.org",
|
||||||
},
|
},
|
||||||
python_requires="~=3.6",
|
python_requires="~=3.6",
|
||||||
|
package_data = {
|
||||||
|
"pyrogram": ["py.typed"],
|
||||||
|
},
|
||||||
packages=find_packages(exclude=["compiler*", "tests*"]),
|
packages=find_packages(exclude=["compiler*", "tests*"]),
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
|
Loading…
Reference in New Issue
Block a user