Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 build-backend = "setuptools.build_meta"
3 requires = [
4 "setuptools>=77.0.3",
5 ]
6
7 [dependency-groups]
8 dev = [
9 "coverage[toml]==7.10.7",
10 "cryptography>=3.4.0",
11 "pre-commit",
12 "pytest>=8.4.2,<9.0.0",
13 "sphinx",
14 "sphinx-rtd-theme",
15 "zope.interface",
16 ]
17 docs = [
18 "sphinx",
19 "sphinx-rtd-theme",
20 "zope.interface",
21 ]
22 tests = [
23 "coverage[toml]==7.10.7",
24 "pytest>=8.4.2,<9.0.0",
25 ]
26
27 [project]
28 authors = [
29 { email = "[email protected]", name = "Jose Padilla" },
30 ]
31 classifiers = [
32 "Development Status :: 5 - Production/Stable",
33 "Intended Audience :: Developers",
34 "Natural Language :: English",
35 "Programming Language :: Python",
36 "Programming Language :: Python :: 3",
37 "Programming Language :: Python :: 3 :: Only",
38 "Programming Language :: Python :: 3.9",
39 "Programming Language :: Python :: 3.10",
40 "Programming Language :: Python :: 3.11",
41 "Programming Language :: Python :: 3.12",
42 "Programming Language :: Python :: 3.13",
43 "Programming Language :: Python :: 3.14",
44 "Topic :: Utilities",
45 ]
46 dependencies = [
47 "typing_extensions >= 4.0; python_version < '3.11'",
48 ]
49 description = "JSON Web Token implementation in Python"
50 dynamic = [
51 "version",
52 ]
53 keywords = [
54 "json",
55 "jwt",
56 "security",
57 "signing",
58 "token",
59 "web",
60 ]
61 license = "MIT"
62 name = "PyJWT"
63 requires-python = ">=3.9"
64
65 [project.optional-dependencies]
66 crypto = [
67 "cryptography>=3.4.0",
68 ]
69
70 [project.readme]
71 content-type = "text/x-rst"
72 file = "README.rst"
73
74 [project.urls]
75 Homepage = "https://github.com/jpadilla/pyjwt"
76
77 [tool.coverage.paths]
78 source = [
79 "*/site-packages",
80 "jwt",
81 ]
82
83 [tool.coverage.report]
84 exclude_also = [
85 "if TYPE_CHECKING",
86 ]
87 skip_covered = true
88
89 [tool.coverage.run]
90 branch = true
91 parallel = true
92 relative_files = true
93 source = [
94 "jwt",
95 "tests",
96 ]
97
98 [tool.mypy]
99 files = [
100 "jwt",
101 "tests",
102 ]
103 strict = true
104 warn_return_any = true
105 warn_unused_ignores = true
106
107 [[tool.mypy.overrides]]
108 ignore_missing_imports = true
109 module = [
110 "cryptography",
111 "cryptography.*",
112 ]
113
114 [tool.pytest.ini_options]
115 addopts = "-ra"
116 filterwarnings = [
117 "error",
118 "ignore::jwt.warnings.InsecureKeyLengthWarning",
119 ]
120 testpaths = [
121 "tests",
122 ]
123
124 [tool.setuptools]
125 include-package-data = true
126 zip-safe = false
127
128 [tool.setuptools.dynamic.version]
129 attr = "jwt.__version__"
130
131 [tool.setuptools.package-data]
132 "*" = [
133 "py.typed",
134 ]
135
136 [tool.setuptools.packages.find]
137 exclude = [
138 "tests",
139 "tests.*",
140 ]
141 namespaces = false