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="/",