1
1
[build-system ]
2
2
requires = [
3
- " setuptools >= 42 " ,
3
+ " setuptools>=61.2 " ,
4
4
" setuptools_scm[toml] >= 3.5.0" ,
5
5
" setuptools_scm_git_archive >= 1.1" ,
6
6
" wheel >= 0.33.6" ,
@@ -9,3 +9,71 @@ build-backend = "setuptools.build_meta"
9
9
10
10
[tool .setuptools_scm ]
11
11
local_scheme = " no-local-version"
12
+
13
+ [project ]
14
+ name = " doc8"
15
+ description = " Style checker for Sphinx (or other) RST documentation"
16
+ authors = [{
name =
" OpenStack" ,
email =
" [email protected] " }]
17
+ maintainers = [{
name =
" PyCQA" ,
email =
" [email protected] " }]
18
+ license = {text = " Apache 2.0" }
19
+ classifiers = [
20
+ " Development Status :: 5 - Production/Stable" ,
21
+ " Environment :: Console" ,
22
+ " Intended Audience :: Developers" ,
23
+ " Intended Audience :: Information Technology" ,
24
+ " Intended Audience :: System Administrators" ,
25
+ " License :: OSI Approved :: Apache Software License" ,
26
+ " Operating System :: POSIX :: Linux" ,
27
+ " Programming Language :: Python" ,
28
+ " Programming Language :: Python :: 3" ,
29
+ " Programming Language :: Python :: 3.7" ,
30
+ " Programming Language :: Python :: 3.8" ,
31
+ " Programming Language :: Python :: 3.9" ,
32
+ " Programming Language :: Python :: 3.10" ,
33
+ " Programming Language :: Python :: 3.11" ,
34
+ " Topic :: System :: Systems Administration" ,
35
+ " Topic :: Utilities" ,
36
+ ]
37
+ keywords = [
38
+ " doc8" ,
39
+ " rst" ,
40
+ " linter" ,
41
+ ]
42
+ requires-python = " >=3.7"
43
+ dependencies = [
44
+ # Ceiled due to DeprecationWarning: The frontend.OptionParser class will be
45
+ # replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
46
+ " docutils>=0.19,<0.21" ,
47
+ " restructuredtext-lint>=0.7" ,
48
+ " stevedore" ,
49
+ " tomli; python_version < '3.11'" ,
50
+ " Pygments" ,
51
+ ]
52
+ dynamic = [" version" ]
53
+
54
+ [project .urls ]
55
+ Homepage = " https://github.com/pycqa/doc8"
56
+ "Bug Tracker" = " https://github.com/pycqa/doc8/issues"
57
+ "Release Management" = " https://github.com/pycqa/doc8/releases"
58
+ CI = " https://github.com/pycqa/doc8/actions"
59
+ Documentation = " https://doc8.readthedocs.io"
60
+ Discussions = " https://github.com/pycqa/doc8/discussions"
61
+
62
+ [project .readme ]
63
+ file = " README.rst"
64
+ content-type = " text/x-rst"
65
+
66
+ [project .scripts ]
67
+ doc8 = " doc8.main:main"
68
+
69
+ [tool .setuptools ]
70
+ # use-scm-version = "True" # Does not pass validate-pyproject
71
+ package-dir = {"" = " src" }
72
+ include-package-data = true
73
+ zip-safe = false
74
+ # These are required in actual runtime:
75
+ license-files = [" LICENSE" ]
76
+
77
+ [tool .setuptools .packages .find ]
78
+ where = [" src" ]
79
+ namespaces = false
0 commit comments