1 # Project configuration file for the "docutils" package (see PEP 518)
3 # Build with flit (https://flit.pypa.io/)
5 requires = ["flit_core>=3.4,<4"]
6 build-backend = "flit_core.buildapi"
9 # cf. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
14 description = "Docutils -- Python Documentation Utilities"
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/
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',
81 name = "David Goodger"
82 email = "goodger@python.org"
84 [[project.maintainers]]
85 name = "docutils-develop list"
86 email = "docutils-develop@lists.sourceforge.net"
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
105 # not required with ``flit --use-vcs`` (current default)
106 # TODO: include generated HTML ?
116 # TODO: Recursive globbing (**) is not supported yet (in exclude pattern '**/*~')
124 "test/functional/output",
127 # Codespell configuration (see https://pypi.org/project/codespell/)
134 ignore-words-list = [