mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 03:54:51 +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
2 changed files with 3 additions and 0 deletions
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",
|
||||
},
|
||||
python_requires="~=3.6",
|
||||
package_data = {
|
||||
"pyrogram": ["py.typed"],
|
||||
},
|
||||
packages=find_packages(exclude=["compiler*", "tests*"]),
|
||||
zip_safe=False,
|
||||
install_requires=requires,
|
||||
|
|
|
|||
Loading…
Reference in a new issue