@@ -26,3 +26,82 @@ target-version = "py38"
26
26
27
27
[tool .ruff .isort ]
28
28
known-first-party = [" vcr" ]
29
+
30
+ [build-system ]
31
+ requires = [" setuptools>=61.2" ]
32
+ build-backend = " setuptools.build_meta"
33
+
34
+ [project ]
35
+ name = " vcrpy"
36
+ version = " 5.1.0"
37
+ authors = [{
name =
" Kevin McCarthy" ,
email =
" [email protected] " }]
38
+ license = {text = " MIT" }
39
+ description = " Automatically mock your HTTP interactions to simplify and speed up testing"
40
+ classifiers = [
41
+ " Development Status :: 5 - Production/Stable" ,
42
+ " Environment :: Console" ,
43
+ " Intended Audience :: Developers" ,
44
+ " Programming Language :: Python" ,
45
+ " Programming Language :: Python :: 3" ,
46
+ " Programming Language :: Python :: 3.8" ,
47
+ " Programming Language :: Python :: 3.9" ,
48
+ " Programming Language :: Python :: 3.10" ,
49
+ " Programming Language :: Python :: 3.11" ,
50
+ " Programming Language :: Python :: 3.12" ,
51
+ " Programming Language :: Python :: 3 :: Only" ,
52
+ " Programming Language :: Python :: Implementation :: CPython" ,
53
+ " Programming Language :: Python :: Implementation :: PyPy" ,
54
+ " Topic :: Software Development :: Testing" ,
55
+ " Topic :: Internet :: WWW/HTTP" ,
56
+ " License :: OSI Approved :: MIT License" ,
57
+ ]
58
+ urls = {Homepage = " https://github.com/kevin1024/vcrpy" }
59
+ requires-python = " >=3.8"
60
+ dependencies = [
61
+ " PyYAML" ,
62
+ " wrapt" ,
63
+ " yarl" ,
64
+ # Support for urllib3 >=2 needs CPython >=3.10
65
+ # so we need to block urllib3 >=2 for Python <3.10 and PyPy for now.
66
+ # Note that vcrpy would work fine without any urllib3 around,
67
+ # so this block and the dependency can be dropped at some point
68
+ # in the future. For more Details:
69
+ # https://github.com/kevin1024/vcrpy/pull/699#issuecomment-1551439663
70
+ " urllib3 <2; python_version <'3.10'" ,
71
+ # https://github.com/kevin1024/vcrpy/pull/775#issuecomment-1847849962
72
+ " urllib3 <2; platform_python_implementation =='PyPy'" ,
73
+ ]
74
+
75
+ [project .readme ]
76
+ file = " README.rst"
77
+ content-type = " text/x-rst"
78
+
79
+ [project .optional-dependencies ]
80
+ testing = [
81
+ " aiohttp" ,
82
+ " boto3" ,
83
+ " httplib2" ,
84
+ " httpx" ,
85
+ " pytest" ,
86
+ " pytest-aiohttp" ,
87
+ " pytest-httpbin" ,
88
+ " requests>=2.16.2" ,
89
+ " tornado" ,
90
+ # Needed to un-break httpbin 0.7.0. For httpbin >=0.7.1 and after,
91
+ # this pin and the dependency itself can be removed, provided
92
+ # that the related bug in httpbin has been fixed:
93
+ # https://github.com/kevin1024/vcrpy/issues/645#issuecomment-1562489489
94
+ # https://github.com/postmanlabs/httpbin/issues/673
95
+ # https://github.com/postmanlabs/httpbin/pull/674
96
+ " Werkzeug==2.0.3" ,
97
+ ]
98
+
99
+ [tool .distutils .bdist_wheel ]
100
+ universal = 1
101
+
102
+ [tool .setuptools ]
103
+ include-package-data = false
104
+
105
+ [tool .setuptools .packages .find ]
106
+ exclude = [" tests*" ]
107
+ namespaces = false
0 commit comments