MINGW-packages/mingw-w64-python-gssapi/001-use-distutils-from-stdlib.patch
مهدي شينون (Mehdi Chinoune) 708b2adebc
python-gssapi: update to 1.7.3
2022-04-06 23:02:37 +05:30

15 lines
511 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -9,11 +9,6 @@
import shutil
import shlex
-# Enables the vendored distutils in setuptools over the stdlib one to avoid
-# the deprecation warning. Must be done before importing setuptools,
-# setuptools also must be imported before distutils.
-# https://github.com/pypa/setuptools/blob/main/docs/deprecated/distutils-legacy.rst
-os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
from setuptools import setup # noqa: E402
from setuptools import Distribution # noqa: E402