From cabd4ece22f651eeb17e662c52ec0f834e2e3fa8 Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Sun, 14 Aug 2022 18:12:11 +0200 Subject: [PATCH] feat(app): Make `ancv` available as an installable script `pip install ancv` will also make `ancv` available as a command, if Python scripts of the Python interpreter used to run `pip` are on the `PATH` --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 30a8b91..23027ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,9 @@ pytest-aiohttp = "^1.0.4" requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" +[tool.poetry.scripts] +ancv = "ancv.__main__:app" + [tool.coverage.run] branch = true