Skip to content

Commit

Permalink
Let consumers know that we have type annotations
Browse files Browse the repository at this point in the history
As well as the type stubs, this includes both the py.typed flag
file (for tools) and the classifier (for people).
  • Loading branch information
PeterJCLaw committed Jul 21, 2020
1 parent d42c0f1 commit c19d7c4
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 c19d7c4

Please sign in to comment.