Skip to content
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

Improve detection of python library path #620

Merged
merged 1 commit into from
Jan 20, 2022
Merged

Improve detection of python library path #620

merged 1 commit into from
Jan 20, 2022

Conversation

rkaminsk
Copy link
Contributor

@rkaminsk rkaminsk commented Jan 4, 2022

This patch considers the LIBDIR variable from both distutils.sysconfig and sysconfig. This is necessary to correctly detect the python library path when using pypy with recent setuputils versions. (See #618.)

@henryiii
Copy link
Contributor

Any idea about the one failure?

@rkaminsk
Copy link
Contributor Author

Any idea about the one failure?

No, clue. It does not make sense to me. I can spend some more time tomorrow, if you are interested in this PR.

@henryiii
Copy link
Contributor

Thanks, I would hope it would enable #624.

@rkaminsk
Copy link
Contributor Author

I'll debug it and come back to you.

This patch considers the LIBDIR variable from both `distutils.sysconfig`
and `sysconfig`. This is necessary to correctly detect the python
library path when using pypy with recent setuputils versions.
@rkaminsk
Copy link
Contributor Author

I found the problem. I overlooked one case. Now it is working as intended.

@henryiii henryiii closed this Jan 19, 2022
@henryiii henryiii reopened this Jan 19, 2022
@henryiii henryiii merged commit 56273a2 into scikit-build:master Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants