From 482ee17c895a0331546c591213463fb8bc4a889c Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Sat, 4 Jul 2026 15:21:24 +0900 Subject: [PATCH] feat: add py.typed marker for PEP 561 (#152) add empty datamaxi/py.typed, package-data + MANIFEST entry so wheel/sdist ship it --- MANIFEST.in | 1 + datamaxi/py.typed | 0 pyproject.toml | 3 +++ 3 files changed, 4 insertions(+) create mode 100644 datamaxi/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 897ffeb..d850fb8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ include requirements/common.txt +include datamaxi/py.typed diff --git a/datamaxi/py.typed b/datamaxi/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index ab49761..971bd9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,9 @@ async = ["httpx>=0.27,<1"] dependencies = {file = ["requirements/common.txt"]} version = {attr = "datamaxi.__version__.__version__"} +[tool.setuptools.package-data] +datamaxi = ["py.typed"] + [project.urls] Homepage = "https://github.com/bisonai/datamaxi-python" Issues = "https://github.com/bisonai/datamaxi-python/issues"