From bc9f35ce6634d3f87fc5dca42f9bf2c8a551c42f Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 10 Jun 2023 11:10:00 +0300 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5619e46..47df21c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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)