aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dependencies.py2
-rw-r--r--scripts/Face.py1
-rw-r--r--scripts/FileGenerator.py2
-rw-r--r--scripts/GenerateCaseConvert.py1
-rw-r--r--scripts/GenerateCharacterCategory.py1
-rwxr-xr-xscripts/HFacer.py2
-rw-r--r--scripts/HeaderCheck.py4
7 files changed, 9 insertions, 4 deletions
diff --git a/scripts/Dependencies.py b/scripts/Dependencies.py
index db705137c..c9f85db02 100644
--- a/scripts/Dependencies.py
+++ b/scripts/Dependencies.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Dependencies.py - discover, read, and write dependencies file for make.
# The format like the output from "g++ -MM" which produces a
# list of header (.h) files used by source files (.cxx).
diff --git a/scripts/Face.py b/scripts/Face.py
index c340dcbab..0fb7253b7 100644
--- a/scripts/Face.py
+++ b/scripts/Face.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# Face.py - module for reading and parsing Scintilla.iface file
# Implemented 2000 by Neil Hodgson neilh@scintilla.org
# Released to the public domain.
diff --git a/scripts/FileGenerator.py b/scripts/FileGenerator.py
index 7022769fb..3e9662632 100644
--- a/scripts/FileGenerator.py
+++ b/scripts/FileGenerator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# FileGenerator.py - implemented 2013 by Neil Hodgson neilh@scintilla.org
# Released to the public domain.
diff --git a/scripts/GenerateCaseConvert.py b/scripts/GenerateCaseConvert.py
index 5e2b39873..9b3e9fb52 100644
--- a/scripts/GenerateCaseConvert.py
+++ b/scripts/GenerateCaseConvert.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# Script to generate CaseConvert.cxx from Python's Unicode data
# Should be run rarely when a Python with a new version of Unicode data is available.
# Requires Python 3.3 or later
diff --git a/scripts/GenerateCharacterCategory.py b/scripts/GenerateCharacterCategory.py
index ba6ac858d..355322992 100644
--- a/scripts/GenerateCharacterCategory.py
+++ b/scripts/GenerateCharacterCategory.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# Script to generate CharacterCategory.cxx from Python's Unicode data
# Should be run rarely when a Python with a new version of Unicode data is available.
# Requires Python 3.3 or later
diff --git a/scripts/HFacer.py b/scripts/HFacer.py
index fe1642560..ae4bb2c2f 100755
--- a/scripts/HFacer.py
+++ b/scripts/HFacer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# HFacer.py - regenerate the Scintilla.h and SciLexer.h files from the Scintilla.iface interface
# definition file.
# Implemented 2000 by Neil Hodgson neilh@scintilla.org
diff --git a/scripts/HeaderCheck.py b/scripts/HeaderCheck.py
index 5378717a6..42de0ba9c 100644
--- a/scripts/HeaderCheck.py
+++ b/scripts/HeaderCheck.py
@@ -1,5 +1,7 @@
+#!/usr/bin/env python3
# Script to check that headers are in a consistent order
-# Requires Python 2.6 or later
+# Canonical header order is defined in scripts/HeaderOrder.txt
+# Requires Python 3.6 or later
from __future__ import print_function
import codecs, glob, os, platform, sys, unicodedata