Add poetry script as a replacement for console_scripts (#92)

After switching to poetry, the console script `rfd` was removed meaning the `rfd` command did not work.

This fixes the issue by using [poetry scripts](https://python-poetry.org/docs/pyproject/#scripts).
This commit is contained in:
Dave Gallant
2021-05-03 18:15:07 -04:00
parent 185700447e
commit c9b7226faa
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "rfd"
version = "0.7.0"
version = "0.7.1"
description = "view RedFlagDeals.com from the command line"
authors = ["Dave Gallant <davegallant@gmail.com>"]
license = "GPL-3.0-or-later"
@@ -20,6 +20,9 @@ pylint = "^2.8.2"
pytest = ">=4.6.6"
rope = "0.19.0"
[tool.poetry.scripts]
rfd = "rfd.__main__:cli"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@@ -1 +1 @@
0.7.0
0.7.1