From ba907ef7b4f5962a11c20adb4036b6ddad26a000 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Jun 2025 21:13:23 +0200 Subject: ... --- modules/borgcopy/pyproject.toml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'modules/borgcopy/pyproject.toml') diff --git a/modules/borgcopy/pyproject.toml b/modules/borgcopy/pyproject.toml index f3401ed2..d76d73c6 100644 --- a/modules/borgcopy/pyproject.toml +++ b/modules/borgcopy/pyproject.toml @@ -1,22 +1,25 @@ -[tool.poetry] +[project] name = "copy_borg" version = "0.0.0" -authors = ["Gregor Kleen "] description = "" +authors = [{ name = "Gregor Kleen", email = "gkleen@yggdrasil.li" }] +requires-python = "~=3.12" +dependencies = [ + "humanize>=4.6.0,<5", + "tqdm>=4.65.0,<5", + "python-dateutil>=2.8.2,<3", + "xdg>=6.0.0,<7", + "pyprctl>=0.1.3,<0.2", + "halo>=0.0.31,<0.0.32", + "unshare>=0.22", +] -[tool.poetry.scripts] +[project.scripts] copy_borg = "copy_borg.__main__:main" -[tool.poetry.dependencies] -python = ">=3.10.0,<3.12" -humanize = "^4.6.0" -tqdm = "^4.65.0" -python-dateutil = "^2.8.2" -xdg = "^6.0.0" -python-unshare = "^0.2" -pyprctl = "^0.1.3" -halo = "^0.0.31" - [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" \ No newline at end of file +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["copy_borg"] -- cgit v1.2.3