From 6a0b5b33dd027a3403d3f9df166db1b2028feb71 Mon Sep 17 00:00:00 2001 From: Meret Behrens Date: Fri, 10 Mar 2023 10:47:16 +0100 Subject: [PATCH] [issue-228] make type hints in code readable for downstream packages Signed-off-by: Meret Behrens --- pyproject.toml | 3 +++ src/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 src/py.typed diff --git a/pyproject.toml b/pyproject.toml index 933f1d264..2dd71b8e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,9 @@ include-package-data = true [tool.setuptools.packages.find] where = ["src"] +[tool.setuptools.package-data] +"*" = ["py.typed"] + # the default git describe resolves to the tag `python3.6` because the current release tag is not on main # by adding "v" the command resolves to the alpha release of 0.7.0 which leads to the desired name spdx-tools-0.7.0 [tool.setuptools_scm] diff --git a/src/py.typed b/src/py.typed new file mode 100644 index 000000000..e69de29bb