From 1b117db767804856a310210c012fdd40addae66a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 8 Feb 2020 03:38:48 -0500 Subject: [PATCH] find python via env This allows these scripts to run through the active version of the virtualenv python when invoked via tox. Change-Id: Ib52f475b7b20c34d62cfd179a1341da1a08a8b5c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253974 Reviewed-by: David Pursehouse Tested-by: Mike Frysinger --- run_tests | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests b/run_tests index 1b35aded..d7144b3c 100755 --- a/run_tests +++ b/run_tests @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding:utf-8 -*- # Copyright 2019 The Android Open Source Project # diff --git a/setup.py b/setup.py index e48aa303..f4d7728d 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding:utf-8 -*- # Copyright 2019 The Android Open Source Project #