From 53734a3b6db9a1d9b19dbd654bbb611059ba5e7b Mon Sep 17 00:00:00 2001 From: Sofi Date: Tue, 9 Aug 2022 15:54:01 +0200 Subject: [PATCH] Use poetry's entrypoint logic Also fixes #105 by renaming the output script from `sheraf` to `canaille`. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a4f43cdd..163d58cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,8 +73,8 @@ doc = [ "slapd" = "*" "smtpdfix" = "*" -[options.entry_points.console_scripts] -console_scripts = { sheraf = "canaille.commands:cli" } +[tool.poetry.scripts] +canaille = "canaille.commands:cli" [options.packages.find] exclude = [