mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
add py.typed marker file for PEP-561 support (#391)
Fix #390 Disable zip_safe option as mypy is incompatible with it.
This commit is contained in:
committed by
Samuel Colvin
parent
96e3e74262
commit
db53fad28d
@@ -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"'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user