int(timeout) truncated a fractional timeout (e.g. 0.5s) to 0, which noble treats as no/instant timeout. round up with math.ceil and floor at 1 so a sub-second timeout stays a real (>=1s) timeout. verified: 0.5/0.1/0.001 -> 1 (was 0); whole seconds unchanged. Signed-off-by: disqualifier <dev@disqualifier.me>
24 lines
642 B
TOML
24 lines
642 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aioweb_tls"
|
|
version = "0.1.1"
|
|
description = "TLS-fingerprinting backends for aioweb — curl_cffi / noble_tls ExtendedSession subclasses, config-free, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
curl = ["curl_cffi>=0.15"]
|
|
noble = ["noble-tls>=0.1.5"]
|
|
all = ["curl_cffi>=0.15", "noble-tls>=0.1.5"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aioweb_tls"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|