diff --git a/intropy/py.typed b/intropy/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index d0fa047..a259b58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,9 @@ version = { attr = "intropy.__version__" } include = ["intropy"] exclude = ["{{cookiecutter.project_slug}}*", "tests*", "hooks*"] +[tool.setuptools.package-data] +intropy = ["py.typed"] + [tool.pytest.ini_options] pythonpath = ["."] required_plugins = ["pytest-cov", "pytest-cookies"] diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index 191c33e..01093de 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -71,7 +71,7 @@ include = ["{{ cookiecutter.project_slug }}*"] exclude = ["data*", "tests*"] [tool.setuptools.package-data] -{{ cookiecutter.project_slug }} = ["*.json", "*.yaml", "*.yml", "*.txt"] +{{ cookiecutter.project_slug }} = ["*.json", "*.yaml", "*.yml", "*.txt", "py.typed"] [tool.pytest.ini_options] pythonpath = ["."] diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/py.typed b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/py.typed new file mode 100644 index 0000000..e69de29