mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
support mypy using py.typed
This commit is contained in:
parent
0182902167
commit
23b7b5ade2
3 changed files with 3 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
include README.rst LICENSE CODE_OF_CONDUCT.md CONTRIBUTING.md requirements.txt docs/source/*.rst
|
||||
include README.rst LICENSE CODE_OF_CONDUCT.md CONTRIBUTING.md requirements.txt docs/source/*.rst libcst/py.typed
|
||||
|
|
|
|||
0
libcst/py.typed
Normal file
0
libcst/py.typed
Normal file
2
setup.py
2
setup.py
|
|
@ -22,6 +22,7 @@ setuptools.setup(
|
|||
url="https://github.com/Instagram/LibCST",
|
||||
license="MIT",
|
||||
packages=setuptools.find_packages(),
|
||||
package_data={"libcst": ["py.typed"]},
|
||||
test_suite="libcst",
|
||||
python_requires=">=3.6",
|
||||
install_requires=[
|
||||
|
|
@ -51,4 +52,5 @@ setuptools.setup(
|
|||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
],
|
||||
zip_safe=False, # for mypy compatibility https://mypy.readthedocs.io/en/latest/installed_packages.html
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue