From d2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 27 Jun 2017 20:23:30 -0400 Subject: [PATCH] build: Request python2 for all directly executed python binaries Some systems point python to python3 instead of python2 - explicitly request python2 to avoid conflicts. Signed-off-by: Kevin O'Connor --- klippy/console.py | 2 +- klippy/klippy.py | 2 +- klippy/parsedump.py | 2 +- scripts/avrsim.py | 2 +- scripts/buildcommands.py | 2 +- scripts/checkstack.py | 2 +- scripts/graphstats.py | 2 +- scripts/stepstats.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/klippy/console.py b/klippy/console.py index a7547458..c95cbf3d 100755 --- a/klippy/console.py +++ b/klippy/console.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to implement a test console with firmware over serial port # # Copyright (C) 2016,2017 Kevin O'Connor diff --git a/klippy/klippy.py b/klippy/klippy.py index 716f5067..16c864e0 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Main code for host side printer firmware # # Copyright (C) 2016 Kevin O'Connor diff --git a/klippy/parsedump.py b/klippy/parsedump.py index 0f6c48b3..380446eb 100755 --- a/klippy/parsedump.py +++ b/klippy/parsedump.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to parse a serial port data dump # # Copyright (C) 2016 Kevin O'Connor diff --git a/scripts/avrsim.py b/scripts/avrsim.py index 93272501..afed444e 100755 --- a/scripts/avrsim.py +++ b/scripts/avrsim.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to interact with simulavr by simulating a serial port. # # Copyright (C) 2015 Kevin O'Connor diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py index cb19c475..8e220bad 100644 --- a/scripts/buildcommands.py +++ b/scripts/buildcommands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to handle build time requests embedded in C code. # # Copyright (C) 2016 Kevin O'Connor diff --git a/scripts/checkstack.py b/scripts/checkstack.py index 060535bd..ed0689ea 100755 --- a/scripts/checkstack.py +++ b/scripts/checkstack.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script that tries to find how much stack space each function in an # object is using. # diff --git a/scripts/graphstats.py b/scripts/graphstats.py index ce191d9b..06abc68f 100755 --- a/scripts/graphstats.py +++ b/scripts/graphstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to parse a logging file, extract the stats, and graph them # # Copyright (C) 2016 Kevin O'Connor diff --git a/scripts/stepstats.py b/scripts/stepstats.py index 1d77ce0e..161ac5c3 100755 --- a/scripts/stepstats.py +++ b/scripts/stepstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to calculate stats for each stepper from a log of messages # # Copyright (C) 2016 Kevin O'Connor