Stop using distutils (#30638)

This is removed from Python 3.12 so we can no longer rely on it. All of
this functionality is either in `setuptools` or `shutil`.
This commit is contained in:
Martin Robinson 2023-10-28 19:17:57 +02:00 committed by GitHub
parent 6dd359193f
commit 463c61f34d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View file

@ -3,10 +3,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup
VERSION = '1.0.0'