build: migrate to uv

This commit is contained in:
Dash
2025-12-11 14:49:15 +01:00
parent 7790e52a6d
commit 326b9297c1
+20 -18
View File
@@ -1,11 +1,11 @@
[tool.poetry] [project]
name = "pqcli" name = "pqcli"
version = "1.0.2" version = "1.0.2"
description = "Progress Quest: the CLI edition" description = "Progress Quest: the CLI edition"
authors = ["Marcin Kurczewski <rr-@sakuya.pl>"] authors = [{ name = "Marcin Kurczewski", email = "rr-@sakuya.pl" }]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/rr-/pq-cli.git" requires-python = ">=3.10,<4.0"
classifiers = [ classifiers = [
"Environment :: Console", "Environment :: Console",
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
@@ -18,26 +18,28 @@ classifiers = [
"Topic :: Games/Entertainment :: Role-Playing", "Topic :: Games/Entertainment :: Role-Playing",
"Topic :: Games/Entertainment :: Simulation", "Topic :: Games/Entertainment :: Simulation",
] ]
packages = [
{ include = "pqcli" }, dependencies = [
"xdg-base-dirs>=6.0.0,<7.0.0",
"urwid>=2.1.2,<3.0.0",
"urwid-readline>=0.13,<1.0.0",
] ]
[tool.poetry.scripts] [project.optional-dependencies]
pqcli = 'pqcli.__main__:main' windows = ["windows-curses>=2.3.0,<3.0.0"]
[project.urls]
Repository = "https://github.com/rr-/pq-cli.git"
[project.scripts]
pqcli = "pqcli.__main__:main"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["hatchling"]
build-backend = "poetry.core.masonry.api" build-backend = "hatchling.build"
[tool.poetry.dependencies] [tool.uv]
python = ">=3.10,<4.0" dev-dependencies = ["pre-commit>=2.16.0"]
xdg-base-dirs = "^6.0.0"
urwid = "^2.1.2"
urwid-readline = "^0.13"
windows-curses = {version = "^2.3.0", platform = "Windows"}
[tool.poetry.dev-dependencies]
pre-commit = "^2.16.0"
[tool.black] [tool.black]
line-length = 79 line-length = 79