@@ -8,6 +8,74 @@ module = [
88 " fixtures.*" ,
99 " testresources.*" ,
1010 " testscenarios.*" ,
11- " pbr.*" ,
1211]
1312ignore_missing_imports = true
13+
14+ [build-system ]
15+ requires = [" setuptools>=61" ]
16+ build-backend = " setuptools.build_meta"
17+
18+ [project ]
19+ name = " testtools"
20+ description = " Extensions to the Python standard library unit testing framework"
21+ readme = " doc/overview.rst"
22+ authors = [{
name =
" Jonathan M. Lange" ,
email =
" [email protected] " }]
23+ classifiers = [
24+ " Development Status :: 5 - Production/Stable" ,
25+ " Intended Audience :: Developers" ,
26+ " License :: OSI Approved :: MIT License" ,
27+ " Operating System :: OS Independent" ,
28+ " Programming Language :: Python" ,
29+ " Programming Language :: Python :: 3" ,
30+ " Programming Language :: Python :: 3.7" ,
31+ " Programming Language :: Python :: 3.8" ,
32+ " Programming Language :: Python :: 3.9" ,
33+ " Programming Language :: Python :: 3.10" ,
34+ " Programming Language :: Python :: 3.11" ,
35+ " Programming Language :: Python :: 3.12" ,
36+ " Programming Language :: Python :: 3 :: Only" ,
37+ " Programming Language :: Python :: Implementation :: CPython" ,
38+ " Programming Language :: Python :: Implementation :: PyPy" ,
39+ " Topic :: Software Development :: Libraries" ,
40+ " Topic :: Software Development :: Libraries :: Python Modules" ,
41+ " Topic :: Software Development :: Testing" ,
42+ ]
43+ dependencies = [" setuptools; python_version>='3.12'" ]
44+ dynamic = [" version" ]
45+ requires-python = " >=3.7"
46+
47+ [project .urls ]
48+ Homepage = " https://github.com/testing-cabal/testtools"
49+
50+ [tool .setuptools ]
51+ include-package-data = false
52+
53+ [tool .setuptools .packages .find ]
54+ include = [" testtools" ]
55+ exclude = [" man*" ]
56+
57+ [tool .extras ]
58+ test = """
59+ testscenarios
60+ testresources"""
61+ twisted = """
62+ Twisted"""
63+
64+ [tool .files ]
65+ packages = " testtools"
66+
67+ [tool .hatch .version ]
68+ source = " vcs"
69+
70+ [tool .hatch .build .hooks .vcs ]
71+ version-file = " testtools/_version.py"
72+ tag-pattern = " ^(testtools-)?(?P<version>[0-9]+(\\ .[0-9]+)*(-[0-9]+)?)(\\ .post(?P<post>[0-9]+))?$"
73+ template = """ \
74+ # This file is automatically generated by hatch.
75+ version = {version!r}
76+ __version__ = {version_tuple!r}
77+ """
78+
79+ [project .optional-dependencies ]
80+ test = [" testscenarios" , " testresources" ]
81+ twisted = [" Twisted" , " fixtures" ]
0 commit comments