Skip to content

Commit

Permalink
Stop unconditionally importing distutils
Browse files Browse the repository at this point in the history
distutils is fully deprecated and will stop working in 3.12, so just
stop the unconditional import. The conditional one remains, and that
favours setuptools. Everything still works the same.
  • Loading branch information
iustin committed Dec 12, 2022
1 parent 8c41c25 commit 9c66f39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

import distutils
import platform
try:
from setuptools import setup, Extension
Expand Down

0 comments on commit 9c66f39

Please sign in to comment.