Merge pull request #145 from PeterJCLaw/expose-type-stubs

Let consumers know that we have type annotations
This commit is contained in:
Dave Halter
2020-07-21 23:42:01 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

0
parso/py.typed Normal file
View File

View File

@@ -25,7 +25,7 @@ setup(name='parso',
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=[
@@ -44,6 +44,7 @@ setup(name='parso',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Editors :: Integrated Development Environments (IDE)',
'Topic :: Utilities',
'Typing :: Typed',
],
extras_require={
'testing': [