Skip to content

Commit

Permalink
Moved to pyproject.toml from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Apr 29, 2024
1 parent 0368917 commit dfd412a
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 149 deletions.
79 changes: 79 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,82 @@ testpaths = [
"tests",
]
addopts = "-vv --tb=short --durations=10"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "python-rucaptcha"
dynamic = ["version"]
authors = [
{name = "AndreiDrang", email = "python-captcha@pm.me"},
]
description = "Python 3.9+ RuCaptcha library with AIO module."
readme = "README.md"
requires-python = ">=3.9"
keywords = [ "captcha",
"rucaptcha",
"2captcha",
"deathbycaptcha",
"recaptcha",
"geetest",
"hcaptcha",
"capypuzzle",
"tiktok",
"rotatecaptcha",
"funcaptcha",
"keycaptcha",
"python3",
"recaptcha",
"captcha",
"security",
"tiktok",
"tencent",
"atb_captcha",
"python-library",
"python-rucaptcha",
"rucaptcha-client",
"yandex",
"turnstile",
"amazon",
"amazon_waf",
"friendly-captcha"
]
license = {text = "MIT License"}
classifiers = [
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: AsyncIO",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
]
dependencies = [
"requests>=2.21.0",
"aiohttp>=3.9.2",
"msgspec==0.18.*",
"tenacity==8.*"
]

[tool.setuptools.packages.find]
where = ["src"]
include = ["python_rucaptcha*"]

[tool.setuptools.dynamic]
version = {attr = "python_rucaptcha.__version__"}

[project.urls]
Homepage = "https://andreidrang.github.io/python-rucaptcha/"
Documentation = "https://andreidrang.github.io/python-rucaptcha/"
Repository = "https://github.com/AndreiDrang/python-rucaptcha"
Issues = "https://github.com/AndreiDrang/python-rucaptcha/issues"
Changelog = "https://github.com/AndreiDrang/python-rucaptcha/releases"
1 change: 1 addition & 0 deletions src/python_rucaptcha/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from python_rucaptcha.__version__ import __version__ # noqa
4 changes: 0 additions & 4 deletions src/requirements.txt

This file was deleted.

145 changes: 0 additions & 145 deletions src/setup.py

This file was deleted.

0 comments on commit dfd412a

Please sign in to comment.