This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Define SOABI, LIBRARY, LDLIBRARY and LIBPL on Windows
Type: Stage:
Components: Windows Versions: Python 3.11, Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2021-05-25 15:15 by steve.dower, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg394368 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-05-25 15:15
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?
msg394369 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-05-25 15:18
Should actually be:

LIBPL=Path(sysconfig.get_config_var("installed_base")) / "libs"
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88402
2021-05-25 15:18:34steve.dowersetmessages: + msg394369
2021-05-25 15:15:02steve.dowercreate