aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-06-27 20:23:30 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-06-27 20:26:02 -0400
commitd2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69 (patch)
tree336e919f55b17bb1735f0c5331e9697c25ecf77e
parentd981973096a91f6234c4a916d80eda3efc258725 (diff)
downloadkutter-d2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69.tar.gz
kutter-d2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69.tar.xz
kutter-d2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69.zip
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 <kevin@koconnor.net>
-rwxr-xr-xklippy/console.py2
-rw-r--r--klippy/klippy.py2
-rwxr-xr-xklippy/parsedump.py2
-rwxr-xr-xscripts/avrsim.py2
-rw-r--r--scripts/buildcommands.py2
-rwxr-xr-xscripts/checkstack.py2
-rwxr-xr-xscripts/graphstats.py2
-rwxr-xr-xscripts/stepstats.py2
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>
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 <kevin@koconnor.net>