plugins/clnrest: Adding pyproject.toml for Poetry install

Reference links:
https://github.com/ElementsProject/lightning/issues/6637
https://github.com/nix-community/poetry2nix

Changelog-Changed: Upgraded clnrest to poetry project.
This commit is contained in:
ShahanaFarooqui 2023-09-07 12:00:31 -07:00 committed by Rusty Russell
parent 7354a9ee1c
commit 6a756256c0
4 changed files with 2079 additions and 382 deletions

1162
plugins/clnrest/poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
[tool.poetry]
name = "clnrest"
version = "23.08"
description = "Transforms RPC calls into REST APIs"
authors = ["ShahanaFarooqui <sfarooqui@blockstream.com>"]
[tool.poetry.dependencies]
python = "^3.8"
json5 = "^0.9.14"
flask = "^2.3.3"
flask-restx = "^1.1.0"
gunicorn = "^21.2.0"
pyln-client = "^23.8"
flask-socketio = "^5.3.6"
gevent = "^23.9.0.post1"
gevent-websocket = "^0.10.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

1277
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@ authors = ["Christian Decker <cdecker@blockstream.com>"]
python = "^3.8"
pyln-client = { path = "contrib/pyln-client", develop = true }
pyln-proto = { path = "contrib/pyln-proto", develop = true }
clnrest = { path = "plugins/clnrest", develop = true }
Mako = "^1.1.6"
websocket-client = "^1.2.3"
grpcio-tools = "^1"