File update-setup.py-to-avoid-installing-of-test-pkg.patch of Package python-matrix-client

From ae8fc9e2f82b6c65db9cd554b89267304f977e8f Mon Sep 17 00:00:00 2001
From: Andreas Billmeier <b@edevau.net>
Date: Sun, 16 Oct 2022 11:13:08 +0200
Subject: [PATCH] update setup.py to avoid installing of 'test' pkg

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 5007712a..63eeecc1 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ def exec_file(names):
     author='The Matrix.org Team',
     author_email='team@matrix.org',
     url='https://github.com/matrix-org/matrix-python-sdk',
-    packages=find_packages(),
+    packages=find_packages(exclude=['test*']),
     license='Apache License, Version 2.0',
     classifiers=[
         'Development Status :: 3 - Alpha',
openSUSE Build Service is sponsored by