mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 05:16:39 +03:00
python: add py.typed file
It marks the package as supporting typing according to PEP 561 <https://peps.python.org/pep-0561/> Also remove zip-safe option from setuptools configuration for deltachat-rpc-client. It is deprecated in setuptools and not used for wheel package format according to <https://setuptools.pypa.io/en/latest/deprecated/zip_safe.html>
This commit is contained in:
@@ -13,13 +13,6 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user