setuptools version
76.0.0
Python version
All
OS
Windows
Additional environment information
No response
Description
_distutils/compilers/C/msvc.py does not define the shared_lib_format attribute. Here is line 260:
static_lib_format = static_lib_format = '%s%s'
It used to be
static_lib_format = shared_lib_format = '%s%s'
but was broken with this commit: 19e9575#diff-f9638b451b134f36d333164e25a77ede338e15822339b99851e4f345a76052c4R259
Expected behavior
shared_lib_format should be available again
How to Reproduce
Perform a build that produces shared objects with MSVC
Output