File size: 3,262 Bytes
065fee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
98
99
100
101
102
# --- Project configuration -------------------------------------------------

[metadata]
name = wrapt
version = attr: wrapt.__version__
author = Graham Dumpleton
author_email = Graham.Dumpleton@gmail.com
url = https://github.com/GrahamDumpleton/wrapt
description = Module for decorators, wrappers and monkey patching.
long_description = file: README.rst
long_description_content_type = text/x-rst
license = BSD
license_files = LICENSE
platform = any
keywords = wrapper, proxy, decorator
classifiers =
    Development Status :: 5 - Production/Stable
    License :: OSI Approved :: BSD License
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.6
    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
    Programming Language :: Python :: 3.12
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy
project_urls =
    Bug Tracker = https://github.com/GrahamDumpleton/wrapt/issues/
    Changelog = https://wrapt.readthedocs.io/en/latest/changes.html
    Documentation = https://wrapt.readthedocs.io/

[options]
zip_safe = false
python_requires = >= 3.6
packages = find:
package_dir =
    =src
test_suite = tests
setup_requires =
    setuptools >=38.3.0

[options.packages.find]
where=src

[bdist_wheel]
universal = false

# --- Test and coverage configuration ------------------------------------------

[coverage:run]
branch = true
relative_files = true
parallel = true
source =
    tests
    wrapt

[coverage:paths]
src =
    src/
    .tox/*/lib/*/site-packages/
    .tox/pypy*/site-packages/

[tool:pytest]
norecursedirs = .tox venv

# --- Tox automation configuration ---------------------------------------------

[tox:tox]
envlist =
  py{36,37,38,39,310,311,312}
  py{36,37,38,39,310,311,312}-{without,install,disable}-extensions,
  pypy-without-extensions

[gh-actions]
python =
    3.6: py36, py36-without-extensions, py36-install-extensions, py36-disable-extensions
    3.7: py37, py37-without-extensions, py37-install-extensions, py37-disable-extensions
    3.8: py38, py38-without-extensions, py38-install-extensions, py38-disable-extensions
    3.9: py39, py39-without-extensions, py39-install-extensions, py39-disable-extensions
    3.10: py310, py310-without-extensions, py310-install-extensions, py310-disable-extensions
    3.11: py311, py311-without-extensions, py311-install-extensions, py311-disable-extensions
    3.12: py312, py312-without-extensions, py312-install-extensions, py312-disable-extensions
    pypy-3.8: pypy-without-extensions
    pypy-3.9: pypy-without-extensions
    pypy-3.10: pypy-without-extensions

[testenv]
deps =
  coverage
  pytest
install_command =
  py311,py311-{without,install,disable}-extensions: python -m pip install --no-binary coverage {opts} {packages}
commands =
  python -m coverage run --rcfile {toxinidir}/setup.cfg -m pytest -v {posargs} {toxinidir}/tests
setenv =
  without-extensions: WRAPT_INSTALL_EXTENSIONS = false
  install-extensions,disable-extensions: WRAPT_INSTALL_EXTENSIONS = true
  disable-extensions: WRAPT_DISABLE_EXTENSIONS = true