Commit 609269e
Replace removed distutils with shutil.which (#215)
distutils was removed from the stdlib in Python 3.12, breaking all
imports of ctaplot on 3.12+. shutil.which is the drop-in replacement
for distutils.spawn.find_executable.
Claude-Session: https://claude.ai/code/session_01KyTy3FkRXDmP3UTLAnCtht
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 3d0d937 commit 609269e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments