This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-orbit.git


The following commit(s) were added to refs/heads/main by this push:
     new d2dd1dc6 Fix packaging so a wheel install can run a benchmark (#100)
d2dd1dc6 is described below

commit d2dd1dc6b41136bf9f1ab7bf8886461164b4502a
Author: Jan Høydahl <[email protected]>
AuthorDate: Thu Oct 15 08:14:24 2026 +0100

    Fix packaging so a wheel install can run a benchmark (#100)
---
 MANIFEST.in    | 4 ++--
 pyproject.toml | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index 4df15203..d49321cf 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -4,9 +4,9 @@ include LICENSE
 include MANIFEST.in
 include README.md
 include version.txt
-include osbenchmark/min-version.txt
+include solrorbit/min-version.txt
 recursive-include docs *
-recursive-include osbenchmark/resources *
+recursive-include solrorbit/resources *
 # recursive-exclude * __pycache__
 # recursive-exclude * *.py[co]
 # prune docs/_build
diff --git a/pyproject.toml b/pyproject.toml
index 16953fa2..dc7062a3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -188,6 +188,10 @@ script-files = ["scripts/expand-data-corpus.py"]
 [tool.setuptools.packages.find]
 where = ["."]
 exclude = ["tests*", "benchmarks*", "it*"]
+# Without this, setuptools treats every directory as a namespace package, so 
the
+# wheel ships docs/, docker/, logs/ and scripts/ as importable top-level
+# packages. Only directories with an __init__.py are packages here.
+namespaces = false
 
 [tool.setuptools.package-data]
 "*" = ["*.json", "*.yml"]

Reply via email to