From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Tue, 6 Sep 2022 23:24:34 +0000 (+0100) Subject: gh-96628: remove deprecated and ignored arg of sysconfig.is_python_build() (GH-96629) X-Git-Tag: v3.12.0a1~464 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=147eb723b2521e7cf889f6b24ca49adbefa0bf65;p=thirdparty%2FPython%2Fcpython.git gh-96628: remove deprecated and ignored arg of sysconfig.is_python_build() (GH-96629) --- diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 01d5331a6306..a22a5d094d76 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -323,7 +323,7 @@ class install(Command): self.config_vars['userbase'] = self.install_userbase self.config_vars['usersite'] = self.install_usersite - if sysconfig.is_python_build(True): + if sysconfig.is_python_build(): self.config_vars['srcdir'] = sysconfig.get_config_var('srcdir') self.expand_basedirs()