From f3702daabcb04f16a7f99778821dd061a0e8173c Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Tue, 17 Feb 2026 09:41:23 +0100 Subject: [PATCH 1/2] first try --- pyproject.toml | 22 ++++++++++++++++++---- setup.py | 2 ++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index 6e85877..5516889 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,20 @@ [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["setuptools>=42"] +build-backend = "setuptools.build_meta" + +[project] +name = "friendly-captcha-client" +version = "0.1.0" +description = "A client for Friendly Captcha." +readme = "README.md" +requires-python = ">=3.6" +dependencies = [ + "requests", + "pydantic", +] + +[tool.setuptools.packages.find] +exclude = ["tests*"] [tool.poetry] name = "friendly-captcha-client" @@ -17,8 +31,8 @@ keywords = ["Friendly Captcha Client", "Captcha"] [tool.poetry.dependencies] python = "^3.6" -requests = "2.31.0" -pydantic = "2.1.1" +requests = ">=2.31.0" +pydantic = ">=2.1.1" [tool.poetry.dev-dependencies] pytest = "7.4.0" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a4f49f9 --- /dev/null +++ b/setup.py @@ -0,0 +1,2 @@ +import setuptools +setuptools.setup() From 45bc5dda71c0b9228d037e636d44e96da31967d1 Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Tue, 17 Feb 2026 10:09:09 +0100 Subject: [PATCH 2/2] fix requirements for tests too --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 19a5900..84604d1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -requests==2.31.0 -pydantic==2.1.1 \ No newline at end of file +requests>=2.31.0 +pydantic>=2.1.1 \ No newline at end of file