Skip to content

Commit

Permalink
build: Request python2 for all directly executed python binaries
Browse files Browse the repository at this point in the history
Some systems point python to python3 instead of python2 - explicitly
request python2 to avoid conflicts.

Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Jun 28, 2017
1 parent d981973 commit d2fafbd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion klippy/console.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion klippy/klippy.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion klippy/parsedump.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion scripts/avrsim.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildcommands.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion scripts/checkstack.py
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/graphstats.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion scripts/stepstats.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down

0 comments on commit d2fafbd

Please sign in to comment.