diff --git a/MANIFEST.in b/MANIFEST.in index 7043e37c..c95924a3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/libcst/py.typed b/libcst/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index b222468c..1dfe7ae5 100644 --- a/setup.py +++ b/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 )