From 7073609480edf9489749f3eba5da3ad9b52e3e34 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 6 May 2018 10:25:32 -0700 Subject: [PATCH] deploy-ng: Use sys.executable instead of 'python' in tests/build_samples.py --- tests/build_samples.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/build_samples.py b/tests/build_samples.py index 3abd2bfb2f..222a7df354 100644 --- a/tests/build_samples.py +++ b/tests/build_samples.py @@ -1,5 +1,6 @@ import os import subprocess +import sys SAMPLES_TO_BUILD = [ 'asteroids', @@ -13,7 +14,7 @@ def main(): # This will raise a CalledProcessError if the build fails, which will cause # this script to fail - subprocess.check_call(['python', 'setup.py', 'bdist_apps']) + subprocess.check_call([sys.executable, 'setup.py', 'bdist_apps']) if __name__ == '__main__': main()