]>
crepu.dev Git - config.git/blob - djavu-asus/elpy/rpc-venv/lib/python3.11/site-packages/setuptools/_distutils/py39compat.py
5 def add_ext_suffix_39(vars):
7 Ensure vars contains 'EXT_SUFFIX'. pypa/distutils#130
11 ext_suffix
= _imp
.extension_suffixes()[0]
13 EXT_SUFFIX
=ext_suffix
,
14 # sysconfig sets SO to match EXT_SUFFIX, so maintain
16 # https://github.com/python/cpython/blob/785cc6770588de087d09e89a69110af2542be208/Lib/sysconfig.py#L671-L673
21 needs_ext_suffix
= sys
.version_info
< (3, 10) and platform
.system() == 'Windows'
22 add_ext_suffix
= add_ext_suffix_39
if needs_ext_suffix
else lambda vars: None