This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new f98d995aec [python] Remove tests in the build artifact (#7984)
f98d995aec is described below
commit f98d995aecfde51d001b0cbd3f343a040983dc38
Author: AN Long <[email protected]>
AuthorDate: Wed May 27 00:00:43 2026 +0900
[python] Remove tests in the build artifact (#7984)
---
paimon-python/MANIFEST.in | 3 ++-
paimon-python/setup.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/paimon-python/MANIFEST.in b/paimon-python/MANIFEST.in
index 4d3df3ade9..30776ec52c 100644
--- a/paimon-python/MANIFEST.in
+++ b/paimon-python/MANIFEST.in
@@ -19,4 +19,5 @@ include LICENSE
include NOTICE
include dev/requirements.txt
include README.md
-recursive-include pypaimon *.py
\ No newline at end of file
+recursive-include pypaimon *.py
+recursive-exclude pypaimon/tests *
diff --git a/paimon-python/setup.py b/paimon-python/setup.py
index 1f464b1988..aaba800fec 100644
--- a/paimon-python/setup.py
+++ b/paimon-python/setup.py
@@ -115,7 +115,7 @@ def _build_dev_package():
atexit.register(_build_dev_package)
-PACKAGES = find_packages(include=["pypaimon*"])
+PACKAGES = find_packages(include=["pypaimon*"], exclude=["pypaimon.tests*"])
def read_requirements():