Open kloczek opened 3 years ago
@kloczek Can you please post a minimal example that demonstrates the issue?
Minimal example is in first line /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
.
That command can be executed in source root just after clone git repo.
In mean time I made as well some patch to move away from pkg_resources
namespaces.
Remove using namespaces basing on:
https://github.com/jaraco/jaraco.functools/commit/d84738ac
--- a//setup.py~ 2021-02-10 17:12:43.000000000 +0000
+++ b//setup.py 2022-05-23 18:23:34.109196173 +0000
@@ -51,7 +51,6 @@
],
platforms='any',
packages=find_packages(),
- namespace_packages=['sphinxcontrib'],
include_package_data=True,
install_requires=requires,
test_suite='sphinxcontrib.autoprogram.suite'
--- a/sphinxcontrib/__init__.py~ 2021-02-10 17:12:43.000000000 +0000
+++ b/sphinxcontrib/__init__.py 2022-05-23 18:22:07.523348583 +0000
@@ -10,4 +10,4 @@
:license: BSD, see LICENSE for details.
"""
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)