diff options
| author | Christian Heimes <cheimes@redhat.com> | 2016-10-26 11:14:06 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-16 23:47:38 +0100 |
| commit | 9102fb3b02fbe55480428e60fb8df4fd668d7753 (patch) | |
| tree | 7ed670b32fb8c87f46306bf789ad83bc72182272 /ipapython/setup.py | |
| parent | 9fbd29cc106660865bc6cda225d6a8a338a78d31 (diff) | |
| download | freeipa-9102fb3b02fbe55480428e60fb8df4fd668d7753.tar.gz freeipa-9102fb3b02fbe55480428e60fb8df4fd668d7753.tar.xz freeipa-9102fb3b02fbe55480428e60fb8df4fd668d7753.zip | |
Register entry points of Custodia plugins
With setuptools in place FreeIPA is able to register its Custodia
plugins. Custodia 0.1 ignores the plugins directives. Custodia 0.2 uses
the entry points to discover plugins.
https://fedorahosted.org/freeipa/ticket/6492
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipapython/setup.py')
| -rwxr-xr-x | ipapython/setup.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipapython/setup.py b/ipapython/setup.py index 0f181ab6a..c0a865bb7 100755 --- a/ipapython/setup.py +++ b/ipapython/setup.py @@ -61,4 +61,12 @@ if __name__ == '__main__': extras_require={ ":python_version<'3'": ["enum34"], }, + entry_points={ + 'custodia.authorizers': [ + 'IPAKEMKeys = ipapython.secrets.kem:IPAKEMKeys', + ], + 'custodia.stores': [ + 'IPASecStore = ipapython.secrets.store:IPASecStore', + ], + }, ) |
