70 lines
1.6 KiB
TOML
70 lines
1.6 KiB
TOML
[build-system]
|
|||
|
|
requires = ["setuptools>=61.0", "wheel"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "stealthii"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "aiohttp/httpx-shaped HTTP client backed by a persistent, stealth-patched Chromium"
|
||
|
|
authors = [
|
||
|
|
{name = "retoor", email = "retoor@molodetz.nl"}
|
||
|
|
]
|
||
|
|
readme = "README.md"
|
||
|
|
license = {text = "MIT"}
|
||
|
|
requires-python = ">=3.9"
|
||
|
|
classifiers = [
|
||
|
|
"Development Status :: 3 - Alpha",
|
||
|
|
"Intended Audience :: Developers",
|
||
|
|
"License :: OSI Approved :: MIT License",
|
||
|
|
"Programming Language :: Python :: 3",
|
||
|
|
"Programming Language :: Python :: 3.9",
|
||
|
|
"Programming Language :: Python :: 3.10",
|
||
|
|
"Programming Language :: Python :: 3.11",
|
||
|
|
"Programming Language :: Python :: 3.12",
|
||
|
|
"Topic :: Internet :: WWW/HTTP",
|
||
|
|
]
|
||
|
|
dependencies = [
|
||
|
|
"playwright>=1.40.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
test = [
|
||
|
|
"pytest>=7.0.0",
|
||
|
|
"pytest-asyncio>=0.21.0",
|
||
|
|
]
|
||
|
|
dev = [
|
||
|
|
"pytest>=7.0.0",
|
||
|
|
"pytest-asyncio>=0.21.0",
|
||
|
|
"ruff>=0.6.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.urls]
|
||
|
|
Homepage = "https://github.com/retoor/stealthii"
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
where = ["."]
|
||
|
|
include = ["stealthii*"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
asyncio_mode = "auto"
|
||
|
|
testpaths = ["tests"]
|
||
|
|
markers = [
|
||
|
|
"online: test requires live network access",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 120
|
||
|
|
target-version = "py310"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "I", "B", "UP", "Q"]
|
||
|
|
ignore = ["E501", "E402", "B008", "B904"]
|
||
|
|
|
||
|
|
[tool.ruff.lint.flake8-quotes]
|
||
|
|
inline-quotes = "single"
|
||
|
|
multiline-quotes = "double"
|
||
|
|
docstring-quotes = "double"
|
||
|
|
|
||
|
|
[tool.ruff.format]
|
||
|
|
quote-style = "single"
|