From f976fc4ccc3044dfa0bae79ec7674daaf3b002d8 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Thu, 4 Jan 2024 17:31:18 +0100 Subject: [PATCH] Update setup.py, exclude 'tests' Otherwise: ``` * The following unexpected files/directories were found top-level * in the site-packages directory: * * /usr/lib/python3.11/site-packages/tests * * This is most likely a bug in the build system. More information * can be found in the Python Guide: * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages ``` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 57adfeb..7b8d43b 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ long_description_content_type="text/markdown", url="https://github.com/rokam/sunweg", install_requires=requires, - packages=setuptools.find_packages(), + packages=setuptools.find_packages(exclude=['tests','tests.*']), python_requires=">=3.10", classifiers=[ "Programming Language :: Python :: 3",