Commit 2403940
committed
Do not unilaterally import distutils in setup.py
Python 3.12 removed distutils completly, so also attempt to import
Extension from setuptools, and if that fails, to import it from
distutils.1 parent e6c876f commit 2403940
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
0 commit comments