Files
palladum-lightning/contrib/pyln-client/pyproject.toml
Lakshya Singh c56464ca08 refactor: pyproject.toml poetry to uv + hatch
make use of standard keys for project and dependeny specification

- provide sources to run uv build so that it can refer local packages
- using hatchling for build as is stock build option
- use optional-dependencies.dev for dev-dependencies
- add hatch targets for packages and includes where unclear

Changelog-Update: use uv with hatchling instead of poetry
2025-08-11 11:06:22 +09:30

24 lines
630 B
TOML

[project]
name = "pyln-client"
version = "25.05"
description = "Client library and plugin library for Core Lightning"
authors = [{ name = "Christian Decker", email = "decker.christian@gmail.com" }]
license = { text = "BSD-MIT" }
readme = "README.md"
requires-python = ">=3.8,<4.0"
dependencies = ["pyln-proto>=23", "pyln-bolt7>=1.0"]
[dependency-groups]
dev = ["pytest>=7.0.0", "pyln-bolt7", "pyln-proto"]
[tool.hatch.build.targets.wheel]
packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"
[tool.uv.sources]
pyln-proto = { workspace = true }
pyln-bolt7 = { workspace = true }