Commit 6a776399 authored by Christoph Groth's avatar Christoph Groth
Browse files

work around future removal of distutils from stdlib

parent 4a6830ff
Pipeline #97982 passed with stages
in 13 minutes and 28 seconds
......@@ -19,6 +19,12 @@ import importlib
import subprocess
import configparser
import collections
# Until there is an alternative way to add custom build steps, request that
# setuptools' local distutils copy is used as global module "distutils". This
# works around the future removal of distutils from the stdlib. See
# https://github.com/pypa/setuptools/issues/2928#issuecomment-997138589.
os.environ["SETUPTOOLS_USE_DISTUTILS"] = "local"
from setuptools import setup, find_packages, Extension, Command
from distutils.errors import DistutilsError, CCompilerError
from distutils.command.build import build as build_orig
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment