freeipa/ipasphinx/setup.py
Alexander Bokovoy e547119342 docs: force sphinx version above 3.0 to avoid caching in RTD
ReadTheDocs somehow caches requirements and insists in using old
version of Sphinx (1.8). We have to force using newer one (4.5)

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2022-05-04 10:40:07 +03:00

21 lines
542 B
Python

#
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
"""Sphinx documentation plugins for IPA
"""
from os.path import abspath, dirname
import sys
if __name__ == "__main__":
# include ../ for ipasetup.py
sys.path.append(dirname(dirname(abspath(__file__))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name="ipasphinx",
doc=__doc__,
package_dir={"ipasphinx": ""},
packages=["ipasphinx"],
install_requires=["ipaserver", "ipalib", "sphinx > 3.0", "m2r2"],
)