From 3aacc114fd286c1bfea3ae33c29cf20ab2f90d6f Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sun, 14 Jul 2019 17:05:40 +0200 Subject: [PATCH] Add Pelican entry point to pyproject.toml Otherwise, the `pelican` CLI command may not be available when installing via Poetry. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 741b04bb..4564d53f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,6 +56,9 @@ flake8-import-order = "^0.18.1" [tool.poetry.extras] markdown = ["markdown"] +[tool.poetry.scripts] +pelican = "pelican.__main__:main" + [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api"