From d430f904341360222f7ad51080aa7c3fe47044b2 Mon Sep 17 00:00:00 2001 From: Marco Genasci Date: Wed, 5 Jan 2022 09:34:27 +0100 Subject: [PATCH] Excluding the tests folder from the installation Signed-off-by: Marco Genasci --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2e5bafb..1f6c203 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """Setup file for bumbleestatus bar to allow pip install of full package""" # -*- coding: utf8 - *- -from setuptools import setup +from setuptools import setup, find_packages import versioneer with open("requirements/base.txt") as f: @@ -57,4 +57,5 @@ setup( ("share/bumblebee-status/themes/icons", glob.glob("themes/icons/*.json")), ("share/bumblebee-status/utility", glob.glob("bin/*")), ], + packages=find_packages(exclude=["tests", "tests.*"]) )