Closed junyer closed 7 months ago
For completeness, I think there is still one special situation that's not covered: Windows debug builds.
I found this is some code I worked on a long time ago (but it's still in active use):
env_etc.extension_module_suffix = ".pyd"
if (env_etc.compiler == "win32_cl"):
if hasattr(sys, 'gettotalrefcount'): # only the debug build of Python has this function
env_etc.extension_module_suffix = "_d.pyd" # then rename extension modules accordingly
# so that debug version of Python can load them
But I think this is best handled in a separate PR, as needed.
But I think this is best handled in a separate PR, as needed.
Agreed. ;)
Fixes #74.