mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
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:
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "rfd"
|
name = "rfd"
|
||||||
version = "0.7.0"
|
version = "0.7.1"
|
||||||
description = "view RedFlagDeals.com from the command line"
|
description = "view RedFlagDeals.com from the command line"
|
||||||
authors = ["Dave Gallant <davegallant@gmail.com>"]
|
authors = ["Dave Gallant <davegallant@gmail.com>"]
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
@@ -20,6 +20,9 @@ pylint = "^2.8.2"
|
|||||||
pytest = ">=4.6.6"
|
pytest = ">=4.6.6"
|
||||||
rope = "0.19.0"
|
rope = "0.19.0"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
rfd = "rfd.__main__:cli"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
@@ -1 +1 @@
|
|||||||
0.7.0
|
0.7.1
|
||||||
|
Reference in New Issue
Block a user