From 5684dcc625c165a5ec39739b82d1c97216c30b69 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Sun, 23 Jun 2024 10:50:50 +0800 Subject: [PATCH] added py.typed file --- .gitignore | 4 ++++ pyproject.toml | 3 +++ src/pwo/py.typed | 0 3 files changed, 7 insertions(+) create mode 100644 src/pwo/py.typed diff --git a/.gitignore b/.gitignore index fa09861..b228f96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +dist +.idea __pycache__ .venv *.pyc +*.egg-info + diff --git a/pyproject.toml b/pyproject.toml index 355f502..87a35d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,9 @@ dependencies = [ "Homepage" = "https://gitea.woggioni.net/woggioni/pwo" "Bug Tracker" = "https://gitea.woggioni.net/woggioni/pwo/issues" +[tool.setuptools.package-data] +pwo = ['src/pwo/py.typed'] + [tool.mypy] python_version = "3.12" disallow_untyped_defs = true diff --git a/src/pwo/py.typed b/src/pwo/py.typed new file mode 100644 index 0000000..e69de29