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/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 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()