diff --git a/pyproject.toml b/pyproject.toml index b548add..ee8c315 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ -[tool.poetry] +[project] name = "pqcli" version = "1.0.2" description = "Progress Quest: the CLI edition" -authors = ["Marcin Kurczewski "] +authors = [{ name = "Marcin Kurczewski", email = "rr-@sakuya.pl" }] license = "MIT" readme = "README.md" -repository = "https://github.com/rr-/pq-cli.git" +requires-python = ">=3.10,<4.0" classifiers = [ "Environment :: Console", "Development Status :: 4 - Beta", @@ -18,26 +18,28 @@ classifiers = [ "Topic :: Games/Entertainment :: Role-Playing", "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] -pqcli = 'pqcli.__main__:main' +[project.optional-dependencies] +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] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling"] +build-backend = "hatchling.build" -[tool.poetry.dependencies] -python = ">=3.10,<4.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.uv] +dev-dependencies = ["pre-commit>=2.16.0"] [tool.black] line-length = 79