From f8b2457daab84756532583df5652a48db553928a Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Sat, 24 Feb 2024 10:07:29 +1000 Subject: [PATCH] Fix compat with distutils removal --- pidiff/_impl/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pidiff/_impl/command.py b/pidiff/_impl/command.py index 41a58f6..9b93e51 100644 --- a/pidiff/_impl/command.py +++ b/pidiff/_impl/command.py @@ -33,8 +33,8 @@ def sitepackages_dir(self) -> str: os.path.join(self.path, "bin/python"), "-c", ( - "import distutils.sysconfig; " - "print(distutils.sysconfig.get_python_lib())" + "import sysconfig; " + "print(sysconfig.get_path('purelib'))" ), ], cwd="/",