freeipa/ipasphinx/setup.py
Christian Heimes e00dc40fea Create ipasphinx package for Sphinx plugins
Sphinx is extensible with plugins that can add new syntax, roles,
directives, domains, and more.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-04-28 20:03:21 +02:00

22 lines
593 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"],
# m2r is not compatible with Sphinx 3.x yet
install_requires=["ipaserver", "ipalib", "sphinx < 3.0", "m2r"],
)