Skip to content

Commit

Permalink
pyln: Migrate pyln-testing to PEP 517 (poetry)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker authored and rustyrussell committed Mar 7, 2022
1 parent dd8d2c1 commit 4b9bf22
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 42 deletions.
1 change: 1 addition & 0 deletions contrib/pyln-testing/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry.lock
2 changes: 1 addition & 1 deletion contrib/pyln-testing/pyln/testing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .__version__ import __version__
__version__ = "0.10.2"

__all__ = [
"__version__",
Expand Down
27 changes: 27 additions & 0 deletions contrib/pyln-testing/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[tool.poetry]
name = "pyln-testing"
version = "0.10.2"
description = "Test your c-lightning integration, plugins or whatever you want"
authors = ["Christian Decker <decker.christian@gmail.com>"]
license = "BSD-MIT"

packages = [
{ include = "pyln/testing" },
]

[tool.poetry.dependencies]
python = "^3.7"
pytest = "^7.0.1"
ephemeral-port-reserve = "^1.1.4"
psycopg2 = "^2.9.3"
python-bitcoinlib = "^0.11.0"
jsonschema = "^4.4.0"
pyln-client = { path = "../pyln-client" }
Flask = "^2.0.3"
cheroot = "^8.6.0"
psutil = "^5.9.0"
[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
12 changes: 0 additions & 12 deletions contrib/pyln-testing/requirements.txt

This file was deleted.

29 changes: 0 additions & 29 deletions contrib/pyln-testing/setup.py

This file was deleted.

0 comments on commit 4b9bf22

Please sign in to comment.