From 79a76be4a7ace04ac80c5d050da1e8f14b1cffd3 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 13 Jan 2025 10:24:33 +0100 Subject: Migrate python project to uv (#77) * Migrate to uv * Fix github build workflow * Fix CI * Another build attempt fix * Use python 3.13 for all environments --- pyproject.toml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 6c7f3cc..1b3a14b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,29 +1,30 @@ -[tool.poetry] +[project] name = "namehackclub" version = "1.0.0" description = "An exclusive club of geeks that own the domain hack to their name." -authors = ["Yuval Adam <_@yuv.al>"] readme = "README.md" -packages = [ - { include = "cli" } +requires-python = ">=3.8" +dependencies = [ + "click>=8.1.7", + "jinja2>=3.1.4", + "unidecode>=1.3.8", + "ymlstash>=1.2.1", ] -[tool.poetry.dependencies] -python = "^3.8" -jinja2 = "^3.1.4" -ymlstash = "^1.2.0" -click = "^8.1.7" -unidecode = "^1.3.8" -[tool.poetry.group.dev.dependencies] -aiohttp = "^3.9.5" -requests = "^2.31.0" +[dependency-groups] +dev = [ + "aiohttp>=3.10.10", + "requests>=2.32.3", +] + +[tool.uv] +package = true -[tool.poetry.scripts] +[tool.setuptools.packages.find] +include = ["cli"] + +[project.scripts] cli = "cli:cli" build = "cli.build:build" -serve = "cli.serve:serve" - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +serve = "cli.serve:serve" \ No newline at end of file -- cgit v1.3.1