Let consumers know that we have type annotations

As well as the type stubs, this includes both the py.typed flag
file (for tools) and the classifier (for people).
This commit is contained in:
Peter Law committed 2020-07-21 22:33:39 +01:00
1 parent d42c0f1b3b
commit c19d7c4e6d
2 files changed
+2 -1

No files matched your search

View File
Whitespace-only changes.
+2 -1
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': [