forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use python from venv if available
First check if $VIRTUAL_ENV is set. If it is, use the python binary from this venv. Fall back to system python otherwise. This helps run various targets which use python, when system python is not being used.
- Loading branch information
1 parent
ebe4cac
commit 0ad4461
Showing
1 changed file
with
25 additions
and
7 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