Skip to content

fix: avoiding an extra system call #279

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

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Sep 7, 2022

This make it harder to mock system calls because platform calls uname, at least on Python 3.7 (and maybe not on 3.11). Using sys.platform.startswith is the canonical way to do this anyway.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 0f8cffa into scikit-build:master Sep 7, 2022
@henryiii henryiii deleted the henryiii/fix/extracall branch September 7, 2022 23:49
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