One-liner rule to update ipasphinx dependency as we are using m2r2 package which is compatible with newer Sphinx. Fixes: https://pagure.io/freeipa/issue/9148 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
21 lines
536 B
Python
21 lines
536 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", "m2r2"],
|
|
)
|