From ec21fc399958c86d4b94b64bab09cb65a20ac1a0 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Thu, 26 Sep 2024 09:52:12 -0700 Subject: [PATCH] lint --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc9ae3a98..0d94f3d71 100644 --- a/setup.py +++ b/setup.py @@ -327,7 +327,8 @@ def awscrt_ext(): if sys.platform == 'win32': # distutils is deprecated in Python 3.10 and removed in 3.12. However, it still works because Python defines a compatibility interface as long as setuptools is installed. # We don't have an official alternative for distutils.ccompiler as of September 2024. See: https://github.com/pypa/setuptools/pull/3445 - # Once that issue is resolved, we can migrate to the official solution. For now, restrict distutils to Windows only, where it's needed. + # Once that issue is resolved, we can migrate to the official solution. + # For now, restrict distutils to Windows only, where it's needed. import distutils.ccompiler # the windows apis being used under the hood. Since we're static linking we have to follow the entire chain down libraries += ['Secur32', 'Crypt32', 'Advapi32', 'NCrypt', 'BCrypt', 'Kernel32', 'Ws2_32', 'Shlwapi']