From d430f904341360222f7ad51080aa7c3fe47044b2 Mon Sep 17 00:00:00 2001 From: Marco Genasci Date: Wed, 5 Jan 2022 09:34:27 +0100 Subject: [PATCH 1/2] 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.*"]) ) From 51c3805f7f8cc1c064c183e1c5b122cae2b568f7 Mon Sep 17 00:00:00 2001 From: Marco Genasci Date: Wed, 5 Jan 2022 09:34:38 +0100 Subject: [PATCH 2/2] Change deprecated dash-separated with underscore in setup.cfg Signed-off-by: Marco Genasci --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 081fab6..d417aa6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,8 +31,8 @@ keywords = bumblebee-status [options] include_package_data = True -allow-all-external = yes -trusted-host = +allow_all_external = yes +trusted_host = gitlab.* bitbucket.org github.com