-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildzig.py's sysconfig.get_config_var("LDLIBRARY") fails on Windows #185
Comments
As per this stack overflow post the windows equivalent is >>> os.path.join(sys.prefix, "libs")
'C:\\Program Files\\Python311\\libs' |
|
I would recommend |
I suspect we can borrow a lot from how Maturin locates these directories? Although it looks like it has a big directory full of somewhat hard-coded sysconfigs? |
I assume you are talking about this https://github.com/PyO3/maturin/tree/main/sysconfig which is most likely generated using this and you can see that they are using |
FYI,
I just happened to be testing pydust on a windows on a windows11 machine and
sysconfig.get_config_var("LDLIBRARY")
returnsNone
even if Python3.11 is installed in the standard system-wide location:C:\Program Files\Python3.11
The text was updated successfully, but these errors were encountered: