diff options
author | Neil <nyamatongwe@gmail.com> | 2020-03-11 15:32:45 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-03-11 15:32:45 +1100 |
commit | b5c8cd58e4972e142c3a199a00625e7c93de5ddd (patch) | |
tree | 4e256b94012d3b2c6b0b8f521886d8646b03ac3a /scripts | |
parent | 10511e853060a7b9a22c860722ebddb1ea385d3d (diff) | |
download | scintilla-mirror-b5c8cd58e4972e142c3a199a00625e7c93de5ddd.tar.gz |
Add or update #! lines of Python scripts to use python3.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dependencies.py | 2 | ||||
-rw-r--r-- | scripts/Face.py | 1 | ||||
-rw-r--r-- | scripts/FileGenerator.py | 2 | ||||
-rw-r--r-- | scripts/GenerateCaseConvert.py | 1 | ||||
-rw-r--r-- | scripts/GenerateCharacterCategory.py | 1 | ||||
-rwxr-xr-x | scripts/HFacer.py | 2 | ||||
-rw-r--r-- | scripts/HeaderCheck.py | 4 |
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 |