tox does not test with unsupported python versions.
[docutils.git] / docutils / pyproject.toml
blobd1cae68f2314432f59c3b6ba75aacb8b31a236ac
1 # Project configuration file for the "docutils" package (see PEP 518)
3 # Build with flit (https://flit.pypa.io/)
4 [build-system]
5 requires = ["flit_core>=3.4,<4"]
6 build-backend = "flit_core.buildapi"
8 # Project metadata
9 # cf. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
10 [project]
12 name = "docutils"
13 dynamic = ["version"]
14 description = "Docutils -- Python Documentation Utilities"
15 readme.text = """
16 Docutils is a modular system for processing documentation
17 into useful formats, such as HTML, XML, and LaTeX.  For
18 input Docutils supports reStructuredText, an easy-to-read,
19 what-you-see-is-what-you-get plaintext markup syntax."""  # wrap at col 60
20 readme.content-type = "text/plain"
22 urls.Homepage = "https://docutils.sourceforge.io"
24 license.file = "COPYING.txt"
26 requires-python = ">=3.9"
28 # cf. https://pypi.org/trove-classifiers/
29 classifiers = [
30         'Development Status :: 4 - Beta',
31         'Environment :: Console',
32         'Intended Audience :: End Users/Desktop',
33         'Intended Audience :: Other Audience',
34         'Intended Audience :: Developers',
35         'Intended Audience :: System Administrators',
36         'License :: Public Domain',
37         'License :: OSI Approved :: Python Software Foundation License',
38         'License :: OSI Approved :: BSD License',
39         'License :: OSI Approved :: GNU General Public License (GPL)',
40         'Operating System :: OS Independent',
41         'Programming Language :: Python :: 3',
42         'Programming Language :: Python :: 3 :: Only',
43         'Programming Language :: Python :: 3.9',
44         'Programming Language :: Python :: 3.10',
45         'Programming Language :: Python :: 3.11',
46         'Topic :: Documentation',
47         'Topic :: Software Development :: Documentation',
48         'Topic :: Text Processing',
49         'Natural Language :: English',  # main/default language, keep first
50         'Natural Language :: Afrikaans',
51         'Natural Language :: Arabic',
52         'Natural Language :: Catalan',
53         'Natural Language :: Chinese (Simplified)',
54         'Natural Language :: Chinese (Traditional)',
55         'Natural Language :: Czech',
56         'Natural Language :: Danish',
57         'Natural Language :: Dutch',
58         'Natural Language :: Esperanto',
59         'Natural Language :: Finnish',
60         'Natural Language :: French',
61         'Natural Language :: Galician',
62         # 'Natural Language :: Georgian', # currently not listed in trove-classifiers
63         'Natural Language :: German',
64         'Natural Language :: Hebrew',
65         'Natural Language :: Italian',
66         'Natural Language :: Japanese',
67         'Natural Language :: Korean',
68         'Natural Language :: Latvian',
69         'Natural Language :: Lithuanian',
70         'Natural Language :: Persian',
71         'Natural Language :: Polish',
72         'Natural Language :: Portuguese (Brazilian)',
73         'Natural Language :: Russian',
74         'Natural Language :: Slovak',
75         'Natural Language :: Spanish',
76         'Natural Language :: Swedish',
77         'Natural Language :: Ukrainian',
80 [[project.authors]]
81 name = "David Goodger"
82 email = "goodger@python.org"
84 [[project.maintainers]]
85 name = "docutils-develop list"
86 email = "docutils-develop@lists.sourceforge.net"
88 [project.scripts]
89 docutils = "docutils.__main__:main"
90 rst2html = "docutils.core:rst2html"
91 rst2html4 = "docutils.core:rst2html4"
92 rst2html5 = "docutils.core:rst2html5"
93 rst2latex = "docutils.core:rst2latex"
94 rst2man = "docutils.core:rst2man"
95 rst2odt = "docutils.core:rst2odt"
96 rst2pseudoxml = "docutils.core:rst2pseudoxml"
97 rst2s5 = "docutils.core:rst2s5"
98 rst2xetex = "docutils.core:rst2xetex"
99 rst2xml = "docutils.core:rst2xml"
102 # Sdist (*.tar.gz) generation
103 [tool.flit.sdist]
105 # not required with ``flit --use-vcs`` (current default)
106 # TODO: include generated HTML ?
107 # include = [
108     # "*.txt",
109     # "docutils/",
110     # "docs/",
111     # "licenses/",
112     # "test/",
113     # "tools/",
114 # ]
116 # TODO: Recursive globbing (**) is not supported yet (in exclude pattern '**/*~')
117 exclude = [
118     "*~",
119     "*/*~",
120     "*.DS_Store",
121     "*/*.DS_Store",
122     "test/alltests.out",
123     "test/record.txt",
124     "test/functional/output",
127 # Codespell configuration (see https://pypi.org/project/codespell/)
128 [tool.codespell]
129 skip = [
130     "test",
131     "pep-*.txt",
132     "iso*.txt",
134 ignore-words-list = [
135     "ba",
136     "complies",
137     "ede",
138     "fo",
139     "hist",
140     "ist",
141     "ment",
142     "nd",
143     "ned",
144     "ninjs",
145     "ownward",
146     "ream",
147     "ro",
148     "shttp",
149     "ta",
150     "te",
151     "ue",
152     "wee",
153     "windos",