Files
flask-debugtoolbar/setup.py
Jeff Widman 0ca1f6b241 Install custom Sphinx theme via extras_require (#250)
Previously the custom theme was vendored in via a `git` submodule...

Now this theme is available via a python package, so install it using `extras_require` instead.

This also unlocks letting other tooling such as ReadTheDocs install the custom theme without having to do custom git incantations.

I also removed the `index_logo` config as Sphinx warns that it's not a supported option by the theme. I grep'd the theme package, and it makes no mention of this option, besides we were leaving it blank already, so there's no point in having it.
2024-04-24 07:40:27 -07:00

21 lines
430 B
Python

from setuptools import setup
# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
setup(
name="Flask-DebugToolbar",
install_requires=[
'Flask>=2.2.0',
'Blinker',
'itsdangerous',
'werkzeug',
'MarkupSafe',
'packaging',
],
extras_require={
"docs": [
'Sphinx>=1.2.2',
'Pallets-Sphinx-Themes',
],
}
)