add support for PEP 561

This commit is contained in:
adbenitez
2022-12-01 03:15:25 -05:00
parent ffbfeab977
commit e6ff513aac
2 changed files with 14 additions and 0 deletions

View File

@@ -12,5 +12,18 @@ dependencies = [
dynamic = [
"version"
]
[tool.setuptools]
# We declare the package not-zip-safe so that our type hints are also available
# when checking client code that uses our (installed) package.
# Ref:
# https://mypy.readthedocs.io/en/stable/installed_packages.html?highlight=zip#using-installed-packages-with-mypy-pep-561
zip-safe = false
[tool.setuptools.package-data]
deltachat_rpc_client = [
"py.typed"
]
[project.entry-points.pytest11]
"deltachat_rpc_client.pytestplugin" = "deltachat_rpc_client.pytestplugin"

View File

@@ -0,0 +1 @@
# PEP 561 marker file. See https://peps.python.org/pep-0561/