forked from CastXML/pygccxml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
shutil.which()
to get compiler path
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).
- Loading branch information
Showing
1 changed file
with
7 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters