From b24725f6fecd48179e3a3784144cb220cdd805d2 Mon Sep 17 00:00:00 2001 From: Ferdinando Ametrano Date: Tue, 8 Sep 2026 16:09:04 +0200 Subject: [PATCH] packaging: ship py.typed marker Add an empty py.typed marker and a setuptools package-data entry so the package advertises its inline type annotations to downstream type checkers per PEP 561. --- pyproject.toml | 3 +++ src/electrum_ecc/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 src/electrum_ecc/py.typed diff --git a/pyproject.toml b/pyproject.toml index 0e5a8e4..66780ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,3 +40,6 @@ Repository = "https://github.com/spesmilo/electrum-ecc" [tool.setuptools.dynamic] version = { attr = 'electrum_ecc.__version__' } + +[tool.setuptools.package-data] +electrum_ecc = ["py.typed"] diff --git a/src/electrum_ecc/py.typed b/src/electrum_ecc/py.typed new file mode 100644 index 0000000..e69de29