File: 0001-Do-not-install-test-packages.patch

package info (click to toggle)
python-ibm-cloud-sdk-core 3.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 528 kB
  • sloc: python: 3,888; makefile: 28; sh: 28
file content (28 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sat, 6 Nov 2021 21:12:02 +0000
Subject: Do not install test packages.

---
 setup.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index a8424cb..d2ff351 100644
--- a/setup.py
+++ b/setup.py
@@ -62,7 +62,14 @@ setup(name='ibm-cloud-sdk-core',
       long_description=readme,
       long_description_content_type='text/markdown',
       url='https://github.com/IBM/python-sdk-core',
-      packages=find_packages(),
+      packages=find_packages(
+          exclude=(
+              'tests',
+              'tests.*',
+              'test_integration',
+              'test_integration.*',
+          )
+      ),
       include_package_data=True,
       keywords='watson, ibm, cloud, ibm cloud services',
       classifiers=[