From 40191fa0d17b70a8f7b299b3245eadf9589060c0 Mon Sep 17 00:00:00 2001 From: Kevin Petremann Date: Fri, 14 Jun 2024 17:25:41 +0200 Subject: [PATCH] ci: fix multiple top-level packages discovered error --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c242e55..ab4a4b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,9 @@ authors = [ [project.scripts] mqtt-exporter = "mqtt_exporter.main:main" +[tool.setuptools] +py-modules = ["mqtt_exporter"] + [tool.black] line-length = 100 exclude = "venv/"