forked from Lainports/freebsd-ports
sphinx-examples is a small Sphinx extension to create examples of source markup and the result of rendering it in your documentation. This is useful if you wish to demonstrate the functionality of a new directive or role in Sphinx.
37 lines
965 B
Python
37 lines
965 B
Python
#!/usr/bin/env python
|
|
# setup.py generated by flit for tools that don't yet use PEP 517
|
|
|
|
from distutils.core import setup
|
|
|
|
packages = \
|
|
['sphinx_examples']
|
|
|
|
package_data = \
|
|
{'': ['*'], 'sphinx_examples': ['_static/*', '_static/styles/*']}
|
|
|
|
package_dir = \
|
|
{'': 'src'}
|
|
|
|
install_requires = \
|
|
['sphinx>4', 'sphinx-design']
|
|
|
|
extras_require = \
|
|
{'sphinx': ['sphinx-book-theme',
|
|
'sphinx-copybutton',
|
|
'myst-parser',
|
|
'sphinx-rtd-theme',
|
|
'furo']}
|
|
|
|
setup(name='sphinx-examples',
|
|
version='%%PORTVERSION%%',
|
|
description='A lightweight example directive to make it easy to demonstrate code / results.',
|
|
author=None,
|
|
author_email='Executable Book Project <executablebooks@gmail.com>',
|
|
url=None,
|
|
packages=packages,
|
|
package_data=package_data,
|
|
package_dir=package_dir,
|
|
install_requires=install_requires,
|
|
extras_require=extras_require,
|
|
python_requires='>=3.7',
|
|
)
|