From 5f39fd879a3a623dc64e586dc88a2689ae67ceb9 2024-10-25 08:26:26 From: kevin1kevin1k Date: 2024-10-25 08:26:26 Subject: [PATCH] Fix str error in path again --- diff --git a/setupbase.py b/setupbase.py index 8ca8b17..50246b4 100644 --- a/setupbase.py +++ b/setupbase.py @@ -65,7 +65,7 @@ def check_package_data(package_data): for d in data: path = pkg_root / d if "*" in str(path): - assert len(glob(path)) > 0, "No files match pattern %s" % path + assert len(glob(str(path))) > 0, "No files match pattern %s" % path else: assert path.exists(), f"Missing package data: {path}"