Skip to content

Commit

Permalink
Merge pull request #145 from PeterJCLaw/expose-type-stubs
Browse files Browse the repository at this point in the history
Let consumers know that we have type annotations
  • Loading branch information
davidhalter authored Jul 21, 2020
2 parents d42c0f1 + c19d7c4 commit d8a70ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file added parso/py.typed
Empty file.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
keywords='python parser parsing',
long_description=readme,
packages=find_packages(exclude=['test']),
package_data={'parso': ['python/grammar*.txt']},
package_data={'parso': ['python/grammar*.txt', 'py.typed', '*.pyi', '**/*.pyi']},
platforms=['any'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
classifiers=[
Expand All @@ -44,6 +44,7 @@
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Editors :: Integrated Development Environments (IDE)',
'Topic :: Utilities',
'Typing :: Typed',
],
extras_require={
'testing': [
Expand Down

0 comments on commit d8a70ab

Please sign in to comment.