Skip to content

Commit

Permalink
Fix compat with distutils removal
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Feb 24, 2024
1 parent ba21b58 commit f8b2457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pidiff/_impl/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="/",
Expand Down

0 comments on commit f8b2457

Please sign in to comment.