summaryrefslogtreecommitdiff
path: root/dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch
blob: f1f0c6ca8d3d4b142a8e830a2c17d5e654956cb1 (plain)
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
From 969dccc084e833331fcd26c2a12ddaf448575ab4 Mon Sep 17 00:00:00 2001
From: Nejc Habjan <hab.nejc@gmail.com>
Date: Fri, 3 Sep 2021 00:28:18 +0200
Subject: [PATCH] fix(build): do not package tests in wheel

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

diff --git a/setup.py b/setup.py
index 6a05a72..589f9a4 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(
     author_email="gauvain@pocentek.net",
     license="LGPLv3",
     url="https://github.com/python-gitlab/python-gitlab",
-    packages=find_packages(),
+    packages=find_packages(exclude=["tests*"]),
     install_requires=["requests>=2.25.0", "requests-toolbelt>=0.9.1"],
     package_data={
         "gitlab": ["py.typed"],
-- 
2.32.0