Update pyproject.toml

This commit is contained in:
Lorenz Diener 2023-06-10 11:10:00 +03:00 committed by GitHub
parent 703bddfacf
commit bc9f35ce66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,3 +55,10 @@ Documentation="https://mastodonpy.readthedocs.io/"
[tool.pytest.ini_options]
addopts = "--cov=mastodon"
# Workaround for some "autodiscovery" issue in setuptools? maybe? I don't know.
# setuptools and pyproject.toml docs seem to be intent on making everyone continue
# the proud lineage of everyone just cargo-culting their makefiles.
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["mastodon*"] # package names should match these glob patterns (["*"] by default)