Use poetry's entrypoint logic

Also fixes #105 by renaming the output script from `sheraf` to
`canaille`.
This commit is contained in:
Sofi 2022-08-09 15:54:01 +02:00
parent b4c6812adc
commit 53734a3b6d
No known key found for this signature in database
GPG key ID: 0A503D1D1B2722AF

View file

@ -73,8 +73,8 @@ doc = [
"slapd" = "*" "slapd" = "*"
"smtpdfix" = "*" "smtpdfix" = "*"
[options.entry_points.console_scripts] [tool.poetry.scripts]
console_scripts = { sheraf = "canaille.commands:cli" } canaille = "canaille.commands:cli"
[options.packages.find] [options.packages.find]
exclude = [ exclude = [