1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
[build-system]
requires = [
"setuptools>=67.4",
"wheel", "pytest-runner",
]
build-backend = "setuptools.build_meta"
[project]
name = "pyhanko-certvalidator"
dynamic = ['version']
authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}]
license = {text = "MIT"}
description = "Validates X.509 certificates and paths; forked from wbond/certvalidator"
keywords = [
"crypto",
"pki",
"x509",
"certificate",
"crl",
"ocsp",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Security :: Cryptography",
]
requires-python = ">=3.7"
dependencies = [
"asn1crypto>=1.5.1",
"oscrypto>=1.1.0",
"cryptography>=41.0.5",
"uritools>=3.0.1",
"requests>=2.31.0",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/MatthiasValvekens/certvalidator"
[project.optional-dependencies]
async-http = ["aiohttp>=3.8,<3.10"]
testing = [
"pytest>=6.1.1",
"pytest-cov>=4.0,<4.2",
"freezegun>=1.1.0",
"aiohttp>=3.8,<3.10",
"pytest-aiohttp~=1.0.4",
"pyhanko-certvalidator[async-http]",
]
mypy = [
"types-requests",
"pyhanko-certvalidator[testing]",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "pyhanko_certvalidator.version.__version__"}
[tool.setuptools.packages.find]
include = ["pyhanko_certvalidator*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
pyhanko_certvalidator = ["py.typed"]
[tool.mypy]
files = 'pyhanko_certvalidator'
[[tool.mypy.overrides]]
module = [
"asn1crypto.*",
"pkcs11.*",
"oscrypto.*",
"uritools.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = true
log_cli_level = "INFO"
testpaths = "tests"
asyncio_mode = "strict"
|