-
Notifications
You must be signed in to change notification settings - Fork 185
/
pyproject.toml
71 lines (61 loc) · 1.65 KB
/
pyproject.toml
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
[project]
name = "captcha"
description = "A captcha library that generates audio and image CAPTCHAs."
authors = [{name = "Hsiaoming Yang", email="[email protected]"}]
dependencies = [
"Pillow",
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.8"
dynamic = ["version"]
readme = "README.rst"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
]
[project.urls]
Documentation = "https://captcha.lepture.com/"
Source = "https://github.com/lepture/captcha"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "captcha.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
captcha = ["py.typed"]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
filterwarnings = ["error"]
[tool.coverage.run]
branch = true
source = ["captcha"]
[tool.coverage.paths]
source = ["src"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"@(abc\\.)?abstractmethod",
"@overload",
]
[tool.mypy]
strict = true
python_version = "3.8"
files = ["src/captcha"]
show_error_codes = true
pretty = true