# Setuptools should allow stub-only package names in `packages` (PEP 561)
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "mypkg-stubs"
version = "0.0.0"

[tool.setuptools]
platforms = ["any"]
packages = ["mypkg-stubs"]

[tool.setuptools.package-dir]
"" = "src"

[tool.setuptools.package-data]
"*" = ["*.pyi"]
"mypkg-stubs" = ["METADATA.toml"]

[tool.setuptools.exclude-package-data]
"mypkg-stubs" = ["*.rst"]
