[pyproject.toml] Moving 'package_data' (py.typed) from setup.cfg

This commit is contained in:
Pierre Sassoulas 2024-02-05 15:33:27 +01:00
parent dab1583ce1
commit c76ea72331
2 changed files with 4 additions and 3 deletions

View File

@ -74,6 +74,10 @@ requires = [
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
"_pytest" = ["py.typed"]
"pytest" = ["py.typed"]
[tool.setuptools_scm] [tool.setuptools_scm]
write_to = "src/_pytest/_version.py" write_to = "src/_pytest/_version.py"

View File

@ -1,3 +0,0 @@
[options.package_data]
_pytest = py.typed
pytest = py.typed