diff --git a/pydantic/py.typed b/pydantic/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 12247aa..df34803 100644 --- a/setup.py +++ b/setup.py @@ -68,8 +68,9 @@ setup( url='https://github.com/samuelcolvin/pydantic', license='MIT', packages=['pydantic'], + package_data={'pydantic': ['py.typed']}, python_requires='>=3.6', - zip_safe=True, + zip_safe=False, # https://mypy.readthedocs.io/en/latest/installed_packages.html install_requires=[ 'dataclasses>=0.6;python_version<"3.7"' ],