3 # Copyright: This file has been placed in the public domain.
5 from __future__
import print_function
12 from setuptools
import setup
14 print('Error: The "setuptools" module, which is required for the')
15 print(' installation of Docutils, could not be found.\n')
16 print(' You may install it with `python -m pip install setuptools`')
17 print(' or from a package called "python-setuptools" (or similar)')
18 print(' using your system\'s package manager.\n')
19 print(' Alternatively, install a release from PyPi with')
20 print(' `python -m pip install docutils`.')
27 'description': 'Docutils -- Python Documentation Utilities',
28 'long_description': """\
29 Docutils is a modular system for processing documentation
30 into useful formats, such as HTML, XML, and LaTeX. For
31 input Docutils supports reStructuredText, an easy-to-read,
32 what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60
33 'url': 'http://docutils.sourceforge.net/',
34 'version': '0.17.1b2.dev',
35 'author': 'David Goodger',
36 'author_email': 'goodger@python.org',
37 'maintainer': 'docutils-develop list',
38 'maintainer_email': 'docutils-develop@lists.sourceforge.net',
39 'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)',
40 'platforms': 'OS-independent',
41 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
42 'include_package_data': True,
43 'exclude_package_data': {"": ["docutils.conf"]},
45 'docutils': 'docutils',
46 'docutils.tools': 'tools'
52 'docutils.parsers.rst',
53 'docutils.parsers.rst.directives',
54 'docutils.parsers.rst.languages',
56 'docutils.transforms',
58 'docutils.utils.math',
60 'docutils.writers.html4css1',
61 'docutils.writers.html5_polyglot',
62 'docutils.writers.pep_html',
63 'docutils.writers.s5_html',
64 'docutils.writers.latex2e',
65 'docutils.writers.xetex',
66 'docutils.writers.odf_odt',
77 'tools/rst2pseudoxml.py',
78 'tools/rstpep2html.py',
80 'tools/rst2odt_prepstyles.py',
83 'Development Status :: 4 - Beta',
84 'Environment :: Console',
85 'Intended Audience :: End Users/Desktop',
86 'Intended Audience :: Other Audience',
87 'Intended Audience :: Developers',
88 'Intended Audience :: System Administrators',
89 'License :: Public Domain',
90 'License :: OSI Approved :: Python Software Foundation License',
91 'License :: OSI Approved :: BSD License',
92 'License :: OSI Approved :: GNU General Public License (GPL)',
93 'Operating System :: OS Independent',
94 'Programming Language :: Python :: 2',
95 'Programming Language :: Python :: 2.7',
96 'Programming Language :: Python :: 3',
97 'Programming Language :: Python :: 3.5',
98 'Programming Language :: Python :: 3.6',
99 'Programming Language :: Python :: 3.7',
100 'Programming Language :: Python :: 3.8',
101 'Programming Language :: Python :: 3.9',
102 'Topic :: Documentation',
103 'Topic :: Software Development :: Documentation',
104 'Topic :: Text Processing',
105 'Natural Language :: English', # main/default language, keep first
106 'Natural Language :: Afrikaans',
107 'Natural Language :: Arabic',
108 'Natural Language :: Catalan',
109 'Natural Language :: Chinese (Simplified)',
110 'Natural Language :: Chinese (Traditional)',
111 'Natural Language :: Czech',
112 'Natural Language :: Danish',
113 'Natural Language :: Dutch',
114 'Natural Language :: Esperanto',
115 'Natural Language :: Finnish',
116 'Natural Language :: French',
117 'Natural Language :: Galician',
118 'Natural Language :: German',
119 'Natural Language :: Hebrew',
120 'Natural Language :: Italian',
121 'Natural Language :: Japanese',
122 'Natural Language :: Korean',
123 'Natural Language :: Latvian',
124 'Natural Language :: Lithuanian',
125 'Natural Language :: Persian',
126 'Natural Language :: Polish',
127 'Natural Language :: Portuguese (Brazilian)',
128 'Natural Language :: Russian',
129 'Natural Language :: Slovak',
130 'Natural Language :: Spanish',
131 'Natural Language :: Swedish',
134 """Distutils setup parameters."""
138 # Install data files properly.
139 dist
= setup(**package_data
)
143 if __name__
== '__main__':