From 662b81afecedb545986f1355f90b270bbd140dd3 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Wed, 8 Nov 2023 13:56:40 +0100 Subject: [PATCH] Fix namespace `sphinxcontrib` to be usable with `zc.buildout`. Without this change `zc.buildout` creates a placeholder __init__.py in `sphinxcontrib` containing a `pkg_resources` namespace declaration. This breaks using other packages of the same namespace which already use the native (implicit) namespace. --- CHANGES | 5 +++++ setup.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index cbd2459..f905389 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,11 @@ Here you can see the list of changes between each 'sphinxcontrib-openapi' release. +0.8.4 (unreleased) +================= + +- Fix namespace ``sphinxcontrib`` to be usable with ``zc.buildout``. + 0.8.3 (2023-10-24) ================= diff --git a/setup.py b/setup.py index 56b02df..796703c 100755 --- a/setup.py +++ b/setup.py @@ -55,6 +55,5 @@ "Framework :: Sphinx", "Framework :: Sphinx :: Extension", ], - namespace_packages=["sphinxcontrib"], python_requires=">=3.7", )