summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-01-13 10:24:33 +0100
committerGitHub <noreply@github.com>2025-01-13 10:24:33 +0100
commit79a76be4a7ace04ac80c5d050da1e8f14b1cffd3 (patch)
tree0ed0cc81193350f1c2a902815fd84b2f571b25da /pyproject.toml
parent635034caf67d510d16f83c5f7eaf4c801845979b (diff)
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
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml39
1 files changed, 20 insertions, 19 deletions
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