From 9c66f39ae91848d6e4f5f82e23b055569c80e1ab Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 12 Dec 2022 22:35:17 +0100 Subject: [PATCH] Stop unconditionally importing distutils 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. --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index ac5c82b..dcae283 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -import distutils import platform try: from setuptools import setup, Extension -- 2.39.5