mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Introduce setup files that copy roles to relevant directories
This enables easy installation of these roles through pip.
This commit is contained in:
24
setup.cfg
Normal file
24
setup.cfg
Normal file
@@ -0,0 +1,24 @@
|
||||
[metadata]
|
||||
name = ansible-freeipa
|
||||
summary = Ansible roles for FreeIPA
|
||||
description-file =
|
||||
README.md
|
||||
home-page = https://github.com/freeipa/ansible-freeipa
|
||||
classifier =
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: System Administrators
|
||||
Operating System :: POSIX :: Linux
|
||||
|
||||
[pbr]
|
||||
warnerrors = True
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
||||
[files]
|
||||
data_files =
|
||||
/usr/share/ansible/roles/ipaclient = roles/ipaclient/*
|
||||
/usr/share/ansible/roles/ipaconf = roles/ipaconf/*
|
||||
/usr/share/ansible/roles/ipaserver = roles/ipaserver/*
|
||||
/usr/share/ansible/roles/krb5 = roles/krb5/*
|
||||
/usr/share/ansible/roles/sssd = roles/sssd/*
|
||||
13
setup.py
Normal file
13
setup.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import setuptools
|
||||
|
||||
# In python < 2.7.4, a lazy loading of package `pbr` will break
|
||||
# setuptools if some other modules registered functions in `atexit`.
|
||||
# solution from: http://bugs.python.org/issue15881#msg170215
|
||||
try:
|
||||
import multiprocessing # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr>=2.0.0'],
|
||||
pbr=True)
|
||||
Reference in New Issue
Block a user