diff --git a/freeipa.spec.in b/freeipa.spec.in index 33d7a28d5..118f305c2 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -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} diff --git a/ipaplatform/__init__.py b/ipaplatform/__init__.py index 1c22346b0..6d7ce3ab1 100644 --- a/ipaplatform/__init__.py +++ b/ipaplatform/__init__.py @@ -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 diff --git a/ipaplatform/setup.py b/ipaplatform/setup.py index c2e656f3d..20bfc6912 100644 --- a/ipaplatform/setup.py +++ b/ipaplatform/setup.py @@ -31,7 +31,6 @@ if __name__ == '__main__': name="ipaplatform", doc=__doc__, package_dir={'ipaplatform': ''}, - namespace_packages=['ipaplatform'], packages=[ "ipaplatform", "ipaplatform.base",