| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
from setuptools import setup, find_packages |
| 4 |
|
| 5 |
long_desc = ''' |
| 6 |
Sphinx_ extension to build reST (reStructuredText_) files. |
| 7 |
|
| 8 |
This extension is in particular useful to use in combination with the autodoc |
| 9 |
extension to automatically generate documentation for use by any rst parser |
| 10 |
(such as the GitHub wiki). |
| 11 |
|
| 12 |
In itself, the extension is fairly straightforward -- it takes the parsed reST |
| 13 |
file from Sphinx_ and outputs it as reST. |
| 14 |
|
| 15 |
.. _Sphinx: http://sphinx-doc.org/ |
| 16 |
.. _reStructuredText: http://docutils.sourceforge.net/rst.html |
| 17 |
''' |
| 18 |
|
| 19 |
requires = ['Sphinx>=1.4'] |
| 20 |
|
| 21 |
setup( |
| 22 |
name='sphinxcontrib-restbuilder', |
| 23 |
version='0.3', |
| 24 |
url='https://github.com/sphinx-contrib/restbuilder', |
| 25 |
download_url='http://pypi.python.org/pypi/sphinxcontrib-restbuilder', |
| 26 |
license='BSD 2-Clause', |
| 27 |
author='Freek Dijkstra', |
| 28 |
author_email='[email protected]', |
| 29 |
description='Sphinx extension to output reST files.', |
| 30 |
long_description=long_desc, |
| 31 |
zip_safe=False, |
| 32 |
classifiers=[ |
| 33 |
'Development Status :: 4 - Beta', |
| 34 |
'Environment :: Console', |
| 35 |
'Framework :: Sphinx :: Extension', |
| 36 |
'Intended Audience :: Developers', |
| 37 |
'License :: OSI Approved :: BSD License', |
| 38 |
'Operating System :: OS Independent', |
| 39 |
'Programming Language :: Python :: 2', |
| 40 |
'Programming Language :: Python :: 3', |
| 41 |
'Topic :: Documentation :: Sphinx', |
| 42 |
'Topic :: Software Development :: Documentation', |
| 43 |
'Topic :: Text Processing :: Markup :: reStructuredText', |
| 44 |
], |
| 45 |
platforms='any', |
| 46 |
python_requires='>=2.7, !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', |
| 47 |
packages=find_packages(exclude=['tests']), |
| 48 |
include_package_data=True, |
| 49 |
install_requires=requires, |
| 50 |
namespace_packages=['sphinxcontrib'], |
| 51 |
) |