mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
Make ipaplatform a regular top-level package
ipaplatform was made a namespace package so that 3rd party OS distributors can easily define their own distribution subpackage. Since major distributions have contributed to FreeIPA project and no 3rd party ipaplatform subpackage was uploaded to PyPI, it doesn't make much sense to keep ipaplatform a namespace package. The ipaplatform-*-nspkg.pth file for namespace package definition is causing trouble with local testing on developer boxes. Fixes: https://pagure.io/freeipa/issue/8309 See: https://pagure.io/freeipa/issue/6474 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
f6be661244
commit
490682ac3c
@ -1418,7 +1418,6 @@ fi
|
||||
%{python3_sitelib}/ipapython-*.egg-info
|
||||
%{python3_sitelib}/ipalib-*.egg-info
|
||||
%{python3_sitelib}/ipaplatform-*.egg-info
|
||||
%{python3_sitelib}/ipaplatform-*-nspkg.pth
|
||||
|
||||
|
||||
%if 0%{?with_ipatests}
|
||||
|
@ -1,11 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
"""ipaplatform namespace package
|
||||
|
||||
In the presence of a namespace package, any code in this module will be
|
||||
ignore.
|
||||
"""ipaplatform package
|
||||
"""
|
||||
__import__('pkg_resources').declare_namespace(__name__)
|
||||
|
||||
NAME = None # initialized by ipaplatform.osinfo
|
||||
|
@ -31,7 +31,6 @@ if __name__ == '__main__':
|
||||
name="ipaplatform",
|
||||
doc=__doc__,
|
||||
package_dir={'ipaplatform': ''},
|
||||
namespace_packages=['ipaplatform'],
|
||||
packages=[
|
||||
"ipaplatform",
|
||||
"ipaplatform.base",
|
||||
|
Loading…
Reference in New Issue
Block a user