[New-bugs-announce] [issue44236] Define SOABI, LIBRARY, LDLIBRARY and LIBPL on Windows

Steve Dower report at bugs.python.org
Tue May 25 11:15:02 EDT 2021


New submission from Steve Dower <steve.dower at python.org>:

Python on Windows currently has no values in sysconfig to locate the lib files for building. Though these are very predictable (for now), it would be nice to have them in the same place as for other platforms.

I propose defining the following config vars in sysconfig:

LIBRARY=Path(_winapi.GetModuleFileName(sys.dllhandle)).stem
LDLIBRARY=Path(_winapi.GetModuleFileName(sys.dllhandle)).name
LIBPL=Path(sys.prefix) / "libs"
SOABI=<SO but without '.' and '.pyd'>

Are there better shared names for these? Or others that should be added?

----------
components: Windows
messages: 394368
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Define SOABI, LIBRARY, LDLIBRARY and LIBPL on Windows
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44236>
_______________________________________


More information about the New-bugs-announce mailing list