Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 requires = [
3 "setuptools>=42.0.0",
4 "wheel",
5 "setuptools-rust>=1.7.0",
6 ]
7 # Point to the setuptools' PEP517 build backend explicitly to
8 # disable Pip's fallback guessing
9 build-backend = "setuptools.build_meta"
10
11 [project]
12 name = "bcrypt"
13 # When updating this, also update lib.rs
14 version = "5.0.0"
15 authors = [
16 {name = "The Python Cryptographic Authority developers", email = "[email protected]"}
17 ]
18 description = "Modern password hashing for your software and your servers"
19 license = {text = "Apache-2.0"}
20 classifiers = [
21 "Development Status :: 5 - Production/Stable",
22 "License :: OSI Approved :: Apache Software License",
23 "Programming Language :: Python :: Implementation :: CPython",
24 "Programming Language :: Python :: Implementation :: PyPy",
25 "Programming Language :: Python :: 3",
26 "Programming Language :: Python :: 3 :: Only",
27 "Programming Language :: Python :: 3.8",
28 "Programming Language :: Python :: 3.9",
29 "Programming Language :: Python :: 3.10",
30 "Programming Language :: Python :: 3.11",
31 "Programming Language :: Python :: 3.12",
32 "Programming Language :: Python :: 3.13",
33 "Programming Language :: Python :: 3.14",
34 "Programming Language :: Python :: Free Threading :: 3 - Stable",
35 ]
36 requires-python = ">= 3.8"
37 dynamic = ["readme"]
38
39 [project.urls]
40 homepage = "https://github.com/pyca/bcrypt/"
41
42 [tool.setuptools]
43 zip-safe = false
44 package-dir = {"" = "src"}
45 packages = ["bcrypt"]
46
47 [tool.setuptools.dynamic]
48 readme = {file = "README.rst", content-type = "text/x-rst"}
49
50 [project.optional-dependencies]
51 tests = ["pytest>=3.2.1,!=3.3.0"]
52 typecheck = ["mypy"]
53
54 [[tool.setuptools-rust.ext-modules]]
55 target = "bcrypt._bcrypt"
56 path = "src/_bcrypt/Cargo.toml"
57 py-limited-api = "auto"
58 rust-version = ">=1.64.0"
59
60 [tool.ruff]
61 line-length = 79
62
63 lint.ignore = ['N818']
64 lint.select = ['E', 'F', 'I', 'N', 'W', 'UP', 'RUF']
65
66 [tool.ruff.lint.isort]
67 known-first-party = ["bcrypt", "tests"]
68
69 [tool.mypy]
70 show_error_codes = true
71 check_untyped_defs = true
72 no_implicit_reexport = true
73 warn_redundant_casts = true
74 warn_unused_ignores = true
75 warn_unused_configs = true
76 strict_equality = true
77
78 [tool.check-manifest]
79 ignore = ["tests/reference/*"]