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

Use shutil.which() to get compiler path #179

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 15, 2024

Remove the __get_first_compiler_in_path() function that used which(1) / where program to get the compiler path, with built-in shutil.which(). This fixes pygccxml on systems where which(1) is no longer present (it is not a standard POSIX tool, and Linux distributions are working towards making it optional).

Remove the `__get_first_compiler_in_path()` function that used
`which(1)` / `where` program to get the compiler path, with built-in
`shutil.which()`.  This fixes pygccxml on systems where `which(1)`
is no longer present (it is not a standard POSIX tool, and Linux
distributions are working towards making it optional).
@iMichka iMichka merged commit 5090a61 into CastXML:develop Apr 16, 2024
7 of 8 checks passed
@mgorny mgorny deleted the no-which branch April 16, 2024 17:47
@mgorny
Copy link
Contributor Author

mgorny commented Apr 16, 2024

Thanks!

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.

3 participants