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
|
[build-system]
requires = ["setuptools>=62.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "wrapt"
dynamic = ["version"]
description = "Module for decorators, wrappers and monkey patching."
readme = "RELEASE.rst"
license = "BSD-2-Clause"
license-files = ["LICENSE"]
authors = [
{name = "Graham Dumpleton", email = "Graham.Dumpleton@gmail.com"}
]
requires-python = ">=3.9"
keywords = ["wrapper", "proxy", "decorator"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.urls]
Homepage = "https://github.com/GrahamDumpleton/wrapt"
"Bug Tracker" = "https://github.com/GrahamDumpleton/wrapt/issues/"
Changelog = "https://wrapt.readthedocs.io/en/latest/changes.html"
Documentation = "https://wrapt.readthedocs.io/"
[project.optional-dependencies]
dev = [
"pytest",
"setuptools",
]
[tool.setuptools]
package-dir = {"" = "src"}
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "wrapt.__version__"}
[dependency-groups]
dev = [
"pytest",
"setuptools",
]
# Black configuration
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| build
| dist
)/
'''
# isort configuration (compatible with Black)
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["wrapt"]
|