Exemplo n.º 1
0
if __name__ == '__main__':
    # include ../ for ipasetup.py
    sys.path.append(dirname(dirname(abspath(__file__))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name="ipapython",
        doc=__doc__,
        package_dir={'ipapython': ''},
        packages=[
            "ipapython",
            "ipapython.install"
        ],
        install_requires=[
            "cffi",
            "cryptography",
            "dnspython",
            "gssapi",
            # "ipalib",  # circular dependency
            "ipaplatform",
            "netaddr",
            "netifaces",
            "python-ldap",
            "six",
        ],
        extras_require={
            ":python_version<'3'": ["enum34"],
            "install": ["dbus-python"],  # for certmonger
        },
    )
Exemplo n.º 2
0
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""FreeIPA common python library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipalib",
        doc=__doc__,
        package_dir={'ipalib': ''},
        packages=[
            "ipalib",
            "ipalib.install",
        ],
    )
Exemplo n.º 3
0
if __name__ == '__main__':
    # include ../ for ipasetup.py
    sys.path.append(dirname(dirname(abspath(__file__))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name="ipapython",
        doc=__doc__,
        package_dir={'ipapython': ''},
        packages=["ipapython", "ipapython.install"],
        install_requires=[
            "cffi",
            "custodia",
            "cryptography",
            "dnspython",
            "gssapi",
            "jwcrypto",
            # "ipalib",  # circular dependency
            "pyldap",
            "netaddr",
            "netifaces",
            "python-nss",
            "requests",
            "six",
        ],
        extras_require={
            ":python_version<'3'": ["enum34"],
            "install": ["dbus-python"],  # for certmonger
        },
    )
Exemplo n.º 4
0
    ipasetup(
        name="ipatests",
        doc=__doc__,
        package_dir={'ipatests': ''},
        packages=[
            "ipatests",
            "ipatests.pytest_plugins",
            "ipatests.test_cmdline",
            "ipatests.test_install",
            "ipatests.test_integration",
            "ipatests.test_ipalib",
            "ipatests.test_ipapython",
            "ipatests.test_ipaserver",
            "ipatests.test_ipaserver.test_install",
            "ipatests.test_pkcs10",
            "ipatests.test_webui",
            "ipatests.test_xmlrpc",
            "ipatests.test_xmlrpc.tracker"
        ],
        scripts=['ipa-run-tests', 'ipa-test-config', 'ipa-test-task'],
        package_data={
            'ipatests': ['pytest.ini'],
            'ipatests.test_install': ['*.update'],
            'ipatests.test_integration': ['scripts/*'],
            'ipatests.test_ipalib': ['data/*'],
            'ipatests.test_pkcs10': ['*.csr'],
            "ipatests.test_ipaserver": ['data/*'],
            'ipatests.test_xmlrpc': ['data/*'],
        }
    )
Exemplo n.º 5
0
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="ipatests",
             doc=__doc__,
             package_dir={'ipatests': ''},
             packages=[
                 "ipatests", "ipatests.pytest_plugins",
                 "ipatests.test_cmdline", "ipatests.test_install",
                 "ipatests.test_integration", "ipatests.test_ipalib",
                 "ipatests.test_ipapython", "ipatests.test_ipaserver",
                 "ipatests.test_ipaserver.test_install",
                 "ipatests.test_pkcs10", "ipatests.test_webui",
                 "ipatests.test_xmlrpc", "ipatests.test_xmlrpc.tracker"
             ],
             scripts=['ipa-run-tests', 'ipa-test-config', 'ipa-test-task'],
             package_data={
                 'ipatests': ['pytest.ini'],
                 'ipatests.test_install': ['*.update'],
                 'ipatests.test_integration': ['scripts/*'],
                 'ipatests.test_ipalib': ['data/*'],
                 'ipatests.test_pkcs10': ['*.csr'],
                 "ipatests.test_ipaserver": ['data/*'],
                 'ipatests.test_xmlrpc': ['data/*'],
             })
Exemplo n.º 6
0
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""FreeIPA client library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipaclient",
        doc=__doc__,
        scripts=['../ipa'],
        package_dir={'ipaclient': ''},
        packages=[
            "ipaclient",
            "ipaclient.plugins",
            "ipaclient.remote_plugins",
            "ipaclient.remote_plugins.2_49",
            "ipaclient.remote_plugins.2_114",
            "ipaclient.remote_plugins.2_156",
            "ipaclient.remote_plugins.2_164",
        ],
    )
Exemplo n.º 7
0
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

"""FreeIPA platform

FreeIPA is a server for identity, policy, and audit.
"""
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="ipaplatform",
        doc=__doc__,
        package_dir={'ipaplatform': ''},
        packages=[
            "ipaplatform",
            "ipaplatform.base",
            "ipaplatform.fedora",
            "ipaplatform.redhat",
            "ipaplatform.rhel"
        ],
    )
Exemplo n.º 8
0
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""FreeIPA python support library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipapython",
        doc=__doc__,
        package_dir={'ipapython': ''},
        packages=[
            "ipapython", "ipapython.dnssec", "ipapython.secrets",
            "ipapython.install"
        ],
    )
Exemplo n.º 9
0
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

"""FreeIPA common python library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipalib",
        doc=__doc__,
        package_dir={'ipalib': ''},
        packages=[
            "ipalib",
        ],
    )
Exemplo n.º 10
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

ipatests is not yet available as PyPI package.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name='ipaserver',
        doc = __doc__,
        packages=[
            "ipaserver",
        ],
        install_requires=[
            "ipaclient",
        ]
    )
Exemplo n.º 11
0
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

"""FreeIPA client library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipaclient",
        doc=__doc__,
        scripts=['../ipa'],
        package_dir={'ipaclient': ''},
        packages=[
            "ipaclient",
            "ipaclient.plugins",
            "ipaclient.remote_plugins",
            "ipaclient.remote_plugins.2_49",
            "ipaclient.remote_plugins.2_114",
            "ipaclient.remote_plugins.2_156",
            "ipaclient.remote_plugins.2_164",
        ],
    )
Exemplo n.º 12
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

ipaplatform is not yet available as PyPI package.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name='ipaplatform',
        doc = __doc__,
        packages=[
            "ipaplatform",
        ],
        install_requires=[
            "ipaclient",
        ]
    )
Exemplo n.º 13
0
FreeIPA is a server for identity, policy, and audit.
"""
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="ipalib",
        doc=__doc__,
        package_dir={'ipalib': ''},
        packages=[
            "ipalib",
            "ipalib.install",
        ],
        install_requires=[
            "ipaplatform",
            "ipapython",
            "netaddr",
            "pyasn1",
            "pyasn1-modules",
            "six",
        ],
        extras_require={
            "install": ["dbus-python"],  # for certmonger and resolve1
        },
    )
Exemplo n.º 14
0
 ipasetup(
     name='ipaserver',
     doc=__doc__,
     package_dir={'ipaserver': ''},
     packages=[
         'ipaserver',
         'ipaserver.advise',
         'ipaserver.advise.plugins',
         'ipaserver.dnssec',
         'ipaserver.plugins',
         'ipaserver.secrets',
         'ipaserver.install',
         'ipaserver.install.plugins',
         'ipaserver.install.server',
     ],
     install_requires=[
         "cryptography",
         "dbus-python",
         "dnspython",
         "dogtag-pki",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "lxml",
         "netaddr",
         "pyasn1",
         "pyldap",
         "python-nss",
         "six",
         # not available on PyPI
         # "python-libipa_hbac",
         # "python-sss",
         # "python-sss-murmur",
         # "python-SSSDConfig",
         # "samba-python",
     ],
     entry_points={
         'custodia.authorizers': [
             'IPAKEMKeys = ipaserver.secrets.kem:IPAKEMKeys',
         ],
         'custodia.stores': [
             'IPASecStore = ipaserver.secrets.store:IPASecStore',
         ],
     },
 )
Exemplo n.º 15
0
 ipasetup(
     name='ipaserver',
     doc=__doc__,
     package_dir={'ipaserver': ''},
     packages=[
         'ipaserver',
         'ipaserver.advise',
         'ipaserver.advise.plugins',
         'ipaserver.dnssec',
         'ipaserver.plugins',
         'ipaserver.secrets',
         'ipaserver.install',
         'ipaserver.install.plugins',
         'ipaserver.install.server',
     ],
     install_requires=[
         "cryptography",
         "dbus-python",
         "dnspython",
         "dogtag-pki",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "lxml",
         "netaddr",
         "pyasn1",
         "pyldap",
         "python-memcached",
         "python-nss",
         "six",
         # not available on PyPI
         # "python-libipa_hbac",
         # "python-sss",
         # "python-sss-murmur",
         # "python-SSSDConfig",
         # "samba-python",
     ],
     entry_points={
         'custodia.authorizers': [
             'IPAKEMKeys = ipaserver.secrets.kem:IPAKEMKeys',
         ],
         'custodia.stores': [
             'IPASecStore = ipaserver.secrets.store:IPASecStore',
         ],
     },
 )
Exemplo n.º 16
0
 ipasetup(
     name='ipaserver',
     doc=__doc__,
     package_dir={'ipaserver': ''},
     packages=[
         'ipaserver',
         'ipaserver.advise',
         'ipaserver.advise.plugins',
         'ipaserver.dnssec',
         'ipaserver.plugins',
         'ipaserver.secrets',
         'ipaserver.secrets.handlers',
         'ipaserver.install',
         'ipaserver.install.plugins',
         'ipaserver.install.server',
     ],
     install_requires=[
         "cryptography",
         "custodia",
         "dbus-python",
         "dnspython",
         # dogtag-pki is just the client package on PyPI. ipaserver
         # requires the full pki package.
         # "dogtag-pki",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "jwcrypto",
         "lxml",
         "netaddr",
         "pyasn1",
         "requests",
         "six",
         "python-augeas",
         "python-ldap",
     ],
     entry_points={
         'custodia.authorizers': [
             'IPAKEMKeys = ipaserver.secrets.kem:IPAKEMKeys',
         ],
         'custodia.stores': [
             'IPASecStore = ipaserver.secrets.store:IPASecStore',
         ],
     },
     extras_require={
         # These packages are currently not available on PyPI.
         "dcerpc": ["samba", "pysss", "pysss_nss_idmap"],
         "hbactest": ["pyhbac"],
         "install": ["SSSDConfig"],
         "trust": ["pysss_murmur", "pysss_nss_idmap"],
     })
Exemplo n.º 17
0
    ipasetup(
        name="ipaclient",
        doc=__doc__,
        package_dir={'ipaclient': ''},
        packages=[
            "ipaclient",
            "ipaclient.install",
            "ipaclient.plugins",
            "ipaclient.remote_plugins",
            "ipaclient.remote_plugins.2_49",
            "ipaclient.remote_plugins.2_114",
            "ipaclient.remote_plugins.2_156",
            "ipaclient.remote_plugins.2_164",
        ],
        install_requires=[
            "cryptography",
            "ipalib",
            "ipapython",
            "qrcode",
            "six",
        ],
        entry_points={'console_scripts': ['ipa = ipaclient.__main__:main']},
        extras_require={
            "install": ["ipaplatform"],
            "otptoken_yubikey": ["python-yubico", "pyusb"],
            "ldap": ["python-ldap"],  # ipapython.ipaldap
        },
        zip_safe=False,
    )
Exemplo n.º 18
0
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="ipaplatform",
        doc=__doc__,
        package_dir={'ipaplatform': ''},
        namespace_packages=['ipaplatform'],
        packages=[
            "ipaplatform",
            "ipaplatform.base",
            "ipaplatform.debian",
            "ipaplatform.fedora",
            "ipaplatform.redhat",
            "ipaplatform.rhel",
            "ipaplatform.suse"
        ],
        install_requires=[
            "cffi",
            # "ipalib",  # circular dependency
            "ipapython",
            "pyasn1",
            "six",
        ],
    )
Exemplo n.º 19
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

ipaplatform is not yet available as PyPI package.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(name='ipaplatform',
             doc=__doc__,
             packages=[
                 "ipaplatform",
             ],
             install_requires=[
                 "ipaclient",
             ])
Exemplo n.º 20
0
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
Python-level packaging using setuptools
"""
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='freeipa',
        doc=__doc__,
        package_dir={'ipaserver': ''},
        packages=[
            'ipaserver',
            'ipaserver.advise',
            'ipaserver.advise.plugins',
            'ipaserver.plugins',
            'ipaserver.install',
            'ipaserver.install.plugins',
            'ipaserver.install.server',
        ],
    )
Exemplo n.º 21
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

Please install ipaclient instead.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name='freeipa',
        doc = __doc__,
        install_requires=[
            "ipaclient",
        ]
    )
Exemplo n.º 22
0
 ipasetup(name="ipatests",
          doc=__doc__,
          package_dir={'ipatests': ''},
          packages=[
              "ipatests", "ipatests.pytest_ipa",
              "ipatests.pytest_ipa.integration", "ipatests.test_cmdline",
              "ipatests.test_install", "ipatests.test_integration",
              "ipatests.test_ipaclient", "ipatests.test_ipalib",
              "ipatests.test_ipaplatform", "ipatests.test_ipapython",
              "ipatests.test_ipaserver",
              "ipatests.test_ipaserver.test_install", "ipatests.test_webui",
              "ipatests.test_xmlrpc", "ipatests.test_xmlrpc.tracker"
          ],
          scripts=['ipa-run-tests', 'ipa-test-config', 'ipa-test-task'],
          package_data={
              'ipatests': ['prci_definitions/*'],
              'ipatests.test_install': ['*.update'],
              'ipatests.test_integration': ['scripts/*'],
              'ipatests.test_ipaclient': ['data/*/*/*'],
              'ipatests.test_ipalib': ['data/*'],
              'ipatests.test_ipaplatform': ['data/*'],
              "ipatests.test_ipaserver": ['data/*'],
              'ipatests.test_xmlrpc': ['data/*'],
          },
          install_requires=[
              "cryptography",
              "dnspython",
              "gssapi",
              "ipaclient",
              "ipalib",
              "ipaplatform",
              "ipapython",
              "polib",
              "pytest",
              "pytest_multihost",
              "python-ldap",
              "six",
          ],
          extras_require={
              "integration": ["dbus-python", "pyyaml", "ipaserver"],
              "ipaserver": ["ipaserver"],
              "webui": ["selenium", "pyyaml", "ipaserver"],
              "xmlrpc": ["ipaserver"],
              ":python_version<'3'": ["mock"],
          })
Exemplo n.º 23
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

ipatests is not yet available as PyPI package.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name='ipatests',
        doc = __doc__,
        packages=[
            "ipatests",
        ],
        install_requires=[
            "ipaclient",
        ]
    )
Exemplo n.º 24
0
if __name__ == '__main__':
    # include ../ for ipasetup.py
    sys.path.append(dirname(dirname(abspath(__file__))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(
        name="ipapython",
        doc=__doc__,
        package_dir={'ipapython': ''},
        packages=[
            "ipapython",
            "ipapython.install"
        ],
        install_requires=[
            "cffi",
            "cryptography",
            "dnspython",
            "gssapi",
            # "ipalib",  # circular dependency
            "ipaplatform",
            "netaddr",
            "python-ldap",
            "six",
        ],
        extras_require={
            "install": ["dbus-python"],  # for certmonger
            # CheckedIPAddress.get_matching_interface
            "netifaces": ["netifaces"],
        },
    )
Exemplo n.º 25
0
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA

ipatests is not yet available as PyPI package.
"""

from os.path import abspath, dirname
import sys

if __name__ == '__main__':
    # include ../../ for ipasetup.py
    sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
    from ipasetup import ipasetup  # noqa: E402

    ipasetup(name='ipatests',
             doc=__doc__,
             packages=[
                 "ipatests",
             ],
             install_requires=[
                 "ipaclient",
             ])
Exemplo n.º 26
0
 ipasetup(
     name="ipaclient",
     doc=__doc__,
     package_dir={'ipaclient': ''},
     packages=[
         "ipaclient",
         "ipaclient.install",
         "ipaclient.plugins",
         "ipaclient.remote_plugins",
         "ipaclient.remote_plugins.2_49",
         "ipaclient.remote_plugins.2_114",
         "ipaclient.remote_plugins.2_156",
         "ipaclient.remote_plugins.2_164",
     ],
     package_data={
         'ipaclient': [
             'csrgen/profiles/*.json',
             'csrgen/rules/*.json',
             'csrgen/templates/*.tmpl',
         ],
     },
     install_requires=[
         "cffi",
         "cryptography",
         "ipalib",
         "ipapython",
         "jinja2",
         "qrcode",
         "six",
     ],
     entry_points={'console_scripts': ['ipa = ipaclient.__main__:main']},
     extras_require={
         "install": ["ipaplatform"],
         "otptoken_yubikey": ["python-yubico", "pyusb"],
     },
     zip_safe=False,
 )
Exemplo n.º 27
0
"""
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="ipaplatform",
        doc=__doc__,
        package_dir={'ipaplatform': ''},
        namespace_packages=['ipaplatform'],
        packages=[
            "ipaplatform",
            "ipaplatform.base",
            "ipaplatform.debian",
            "ipaplatform.fedora",
            "ipaplatform.redhat",
            "ipaplatform.rhel"
        ],
        install_requires=[
            "cffi",
            # "ipalib",  # circular dependency
            "ipapython",
            "pyasn1",
            "six",
        ],
    )
Exemplo n.º 28
0
#
# 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"],
    )
Exemplo n.º 29
0
    ipasetup(name="ipaclient",
             doc=__doc__,
             scripts=['../ipa'],
             package_dir={'ipaclient': ''},
             packages=[
                 "ipaclient",
                 "ipaclient.install",
                 "ipaclient.plugins",
                 "ipaclient.remote_plugins",
                 "ipaclient.remote_plugins.2_49",
                 "ipaclient.remote_plugins.2_114",
                 "ipaclient.remote_plugins.2_156",
                 "ipaclient.remote_plugins.2_164",
             ],
             install_requires=[
                 "cryptography",
                 "ipalib",
                 "ipapython",
                 "jinja2",
                 "python-nss",
                 "python-yubico",
                 "pyusb",
                 "qrcode",
                 "six",
             ],
             extras_require={
                 "install": ["ipaplatform"],
                 "otptoken_yubikey": ["yubico", "usb"]
             })
Exemplo n.º 30
0
 ipasetup(
     name="ipatests",
     doc=__doc__,
     package_dir={'ipatests': ''},
     packages=[
         "ipatests",
         "ipatests.pytest_ipa",
         "ipatests.pytest_ipa.integration",
         "ipatests.test_cmdline",
         "ipatests.test_install",
         "ipatests.test_integration",
         "ipatests.test_ipaclient",
         "ipatests.test_ipalib",
         "ipatests.test_ipaplatform",
         "ipatests.test_ipapython",
         "ipatests.test_ipaserver",
         "ipatests.test_ipaserver.test_install",
         "ipatests.test_webui",
         "ipatests.test_xmlrpc",
         "ipatests.test_xmlrpc.tracker"
     ],
     scripts=['ipa-run-tests', 'ipa-test-config', 'ipa-test-task'],
     package_data={
         'ipatests': ['prci_definitions/*'],
         'ipatests.test_install': ['*.update'],
         'ipatests.test_integration': ['scripts/*'],
         'ipatests.test_ipaclient': ['data/*/*/*'],
         'ipatests.test_ipalib': ['data/*'],
         'ipatests.test_ipaplatform': ['data/*'],
         "ipatests.test_ipaserver": ['data/*'],
         'ipatests.test_xmlrpc': ['data/*'],
     },
     install_requires=[
         "cryptography",
         "dnspython",
         "gssapi",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "polib",
         "pytest",
         "pytest_multihost",
         "python-ldap",
         "six",
     ],
     extras_require={
         "integration": ["dbus-python", "pyyaml", "ipaserver"],
         "ipaserver": ["ipaserver"],
         "webui": ["selenium", "pyyaml", "ipaserver"],
         "xmlrpc": ["ipaserver"],
         ":python_version<'3'": ["mock"],
     }
 )
Exemplo n.º 31
0
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""FreeIPA platform

FreeIPA is a server for identity, policy, and audit.
"""
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="ipaplatform",
        doc=__doc__,
        package_dir={'ipaplatform': ''},
        packages=[
            "ipaplatform", "ipaplatform.base", "ipaplatform.fedora",
            "ipaplatform.redhat", "ipaplatform.rhel"
        ],
    )
Exemplo n.º 32
0
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

"""FreeIPA python support library

FreeIPA is a server for identity, policy, and audit.
"""
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="ipapython",
        doc=__doc__,
        package_dir={'ipapython': ''},
        packages=[
            "ipapython",
            "ipapython.dnssec",
            "ipapython.secrets",
            "ipapython.install"
        ],
    )
Exemplo n.º 33
0
 ipasetup(
     name="ipatests",
     doc=__doc__,
     package_dir={"ipatests": ""},
     packages=[
         "ipatests",
         "ipatests.pytest_plugins",
         "ipatests.test_cmdline",
         "ipatests.test_install",
         "ipatests.test_integration",
         "ipatests.test_ipalib",
         "ipatests.test_ipapython",
         "ipatests.test_ipaserver",
         "ipatests.test_ipaserver.test_install",
         "ipatests.test_pkcs10",
         "ipatests.test_webui",
         "ipatests.test_xmlrpc",
         "ipatests.test_xmlrpc.tracker",
     ],
     scripts=["ipa-run-tests", "ipa-test-config", "ipa-test-task"],
     package_data={
         "ipatests": ["pytest.ini"],
         "ipatests.test_install": ["*.update"],
         "ipatests.test_integration": ["scripts/*"],
         "ipatests.test_ipalib": ["data/*"],
         "ipatests.test_pkcs10": ["*.csr"],
         "ipatests.test_ipaserver": ["data/*"],
         "ipatests.test_xmlrpc": ["data/*"],
     },
     install_requires=[
         "cryptography",
         "dnspython",
         "gssapi",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "nose",
         "polib",
         "pyldap",
         "pytest",
         "pytest_multihost",
         "python-nss",
         "six",
     ],
     extras_require={
         "integration": ["dbus-python", "pyyaml", "ipaserver"],
         "ipaserver": ["ipaserver"],
         "webui": ["selenium", "pyyaml", "ipaserver"],
         "xmlrpc": ["ipaserver"],
     },
 )
Exemplo n.º 34
0
FreeIPA is a server for identity, policy, and audit.
"""
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="ipalib",
        doc=__doc__,
        package_dir={'ipalib': ''},
        packages=[
            "ipalib",
            "ipalib.install",
        ],
        install_requires=[
            "ipapython",
            "netaddr",
            "pyasn1",
            "pyasn1-modules",
            "six",
        ],
        extras_require={
            "install": ["ipaplatform"],
        },
    )
Exemplo n.º 35
0
#
# 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"],
    )
Exemplo n.º 36
0
FreeIPA is a server for identity, policy, and audit.
"""
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="ipalib",
        doc=__doc__,
        package_dir={'ipalib': ''},
        packages=[
            "ipalib",
            "ipalib.install",
        ],
        install_requires=[
            "ipapython",
            "netaddr",
            "pyasn1",
            "pyasn1-modules",
            "python-nss",
            "six",
        ],
        extras_require={
            "install": ["ipaplatform"],
        },
    )
Exemplo n.º 37
0
 ipasetup(
     name="ipaclient",
     doc=__doc__,
     package_dir={'ipaclient': ''},
     packages=[
         "ipaclient",
         "ipaclient.install",
         "ipaclient.plugins",
         "ipaclient.remote_plugins",
         "ipaclient.remote_plugins.2_49",
         "ipaclient.remote_plugins.2_114",
         "ipaclient.remote_plugins.2_156",
         "ipaclient.remote_plugins.2_164",
     ],
     package_data={
         'ipaclient': [
             'csrgen/profiles/*.json',
             'csrgen/rules/*.json',
             'csrgen/templates/*.tmpl',
         ],
     },
     install_requires=[
         "cryptography",
         "ipalib",
         "ipapython",
         "qrcode",
         "six",
     ],
     entry_points={
         'console_scripts': [
             'ipa = ipaclient.__main__:main'
         ]
     },
     extras_require={
         "install": ["ipaplatform"],
         "otptoken_yubikey": ["python-yubico", "pyusb"],
         "csrgen": ["cffi", "jinja2"],
         "ldap": ["python-ldap"],  # ipapython.ipaldap
     },
     zip_safe=False,
 )
Exemplo n.º 38
0
 ipasetup(
     name='ipaserver',
     doc=__doc__,
     package_dir={'ipaserver': ''},
     packages=[
         'ipaserver',
         'ipaserver.advise',
         'ipaserver.advise.plugins',
         'ipaserver.dnssec',
         'ipaserver.plugins',
         'ipaserver.secrets',
         'ipaserver.install',
         'ipaserver.install.plugins',
         'ipaserver.install.server',
     ],
     install_requires=[
         "cryptography",
         "custodia",
         "dbus-python",
         "dnspython",
         # dogtag-pki is just the client package on PyPI. ipaserver
         # requires the full pki package.
         # "dogtag-pki",
         "ipaclient",
         "ipalib",
         "ipaplatform",
         "ipapython",
         "jwcrypto",
         "lxml",
         "netaddr",
         "pyasn1",
         "requests",
         "six",
         "python-augeas",
         "python-ldap",
     ],
     entry_points={
         'custodia.authorizers': [
             'IPAKEMKeys = ipaserver.secrets.kem:IPAKEMKeys',
         ],
         'custodia.stores': [
             'IPASecStore = ipaserver.secrets.store:IPASecStore',
         ],
     },
     extras_require={
         # These packages are currently not available on PyPI.
         "dcerpc": ["samba", "pysss", "pysss_nss_idmap"],
         "hbactest": ["pyhbac"],
         "install": ["SSSDConfig"],
         "trust": ["pysss_murmur", "pysss_nss_idmap"],
     }
 )
Exemplo n.º 39
0
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
Python-level packaging using setuptools
"""
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='ipaserver',
        doc=__doc__,
        package_dir={'ipaserver': ''},
        packages=[
            'ipaserver',
            'ipaserver.advise',
            'ipaserver.advise.plugins',
            'ipaserver.plugins',
            'ipaserver.install',
            'ipaserver.install.plugins',
            'ipaserver.install.server',
        ],
    )