From 8ef62dbf7a1311f9d09afbe84bde887a1147c23b Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Mon, 7 Oct 2024 22:48:46 +0200 Subject: [PATCH] Ignore packages in the tests directory Otherwise our package build fails with: RPM build errors: error: Installed (but unpackaged) file(s) found: --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c7b94cf..509901b 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ classifiers=[], setup_requires=setup_requires, install_requires=install_requires, - packages=find_packages(), + packages=find_packages(exclude=["tests"]), include_package_data=True, zip_safe=False, py_modules=["cli"],