From 1e9af88121bf8213db9a7b484178e1c3b18b120d Mon Sep 17 00:00:00 2001 From: Borys Jurgiel Date: Thu, 10 Oct 2024 08:54:10 +0200 Subject: [PATCH] Handle zipfile.Path properly when processing packages. Fixes #19 --- a00_qpip/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a00_qpip/plugin.py b/a00_qpip/plugin.py index ba718ff..ca4de96 100644 --- a/a00_qpip/plugin.py +++ b/a00_qpip/plugin.py @@ -153,7 +153,7 @@ def check_deps(self, additional_plugins=[]) -> MainDialog | bool: name = dist.metadata["Name"] libs[name].name = name libs[name].installed_dist = dist - if os.path.dirname(dist._path) != self.site_packages_path: + if os.path.dirname(str(dist._path)) != self.site_packages_path: libs[name].qpip = False # Checking requirements of all plugins