diff --git a/Makefile b/Makefile index e8d53b5a4..ec75d98eb 100644 --- a/Makefile +++ b/Makefile @@ -207,7 +207,7 @@ endif # Run make without -j if this happens. %.ttx: %.ttx.tmpl $(ADD_GLYPHS) $(ALL_COMPRESSED_FILES) - @python $(ADD_GLYPHS) -f "$<" -o "$@" -d "$(COMPRESSED_DIR)" $(ADD_GLYPHS_FLAGS) + @python3 $(ADD_GLYPHS) -f "$<" -o "$@" -d "$(COMPRESSED_DIR)" $(ADD_GLYPHS_FLAGS) %.ttf: %.ttx @rm -f "$@" @@ -215,8 +215,8 @@ endif $(EMOJI).ttf: $(EMOJI).tmpl.ttf $(EMOJI_BUILDER) $(PUA_ADDER) \ $(ALL_COMPRESSED_FILES) | check_vs_adder - @python $(EMOJI_BUILDER) $(SMALL_METRICS) -V $< "$@" "$(COMPRESSED_DIR)/emoji_u" - @python $(PUA_ADDER) "$@" "$@-with-pua" + @python3 $(EMOJI_BUILDER) $(SMALL_METRICS) -V $< "$@" "$(COMPRESSED_DIR)/emoji_u" + @python3 $(PUA_ADDER) "$@" "$@-with-pua" @$(VS_ADDER) -vs 2640 2642 2695 --dstdir '.' -o "$@-with-pua-varsel" "$@-with-pua" @mv "$@-with-pua-varsel" "$@" @rm "$@-with-pua" diff --git a/add_aliases.py b/add_aliases.py index 90aed7d98..b943f5db0 100755 --- a/add_aliases.py +++ b/add_aliases.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017 Google Inc. All rights reserved. # diff --git a/add_emoji_gsub.py b/add_emoji_gsub.py index bae73cbb4..9f578a302 100755 --- a/add_emoji_gsub.py +++ b/add_emoji_gsub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2014 Google Inc. All rights reserved. # diff --git a/add_glyphs.py b/add_glyphs.py index 36d40e676..4d4430f4b 100644 --- a/add_glyphs.py +++ b/add_glyphs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Extend a ttx file with additional data. diff --git a/add_svg_glyphs.py b/add_svg_glyphs.py index 0f7a6b3bf..630915787 100755 --- a/add_svg_glyphs.py +++ b/add_svg_glyphs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2015 Google, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/check_emoji_sequences.py b/check_emoji_sequences.py index f29bbe90b..dff1b8657 100755 --- a/check_emoji_sequences.py +++ b/check_emoji_sequences.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2016 Google Inc. All rights reserved. # diff --git a/collect_emoji_svg.py b/collect_emoji_svg.py index ea39cbde0..9d2ba640e 100755 --- a/collect_emoji_svg.py +++ b/collect_emoji_svg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2015 Google, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/flag_glyph_name.py b/flag_glyph_name.py index 50c266b8c..e5ce40c20 100755 --- a/flag_glyph_name.py +++ b/flag_glyph_name.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2014 Google Inc. All rights reserved. # diff --git a/flag_info.py b/flag_info.py index 233243f7d..3dbd63f24 100755 --- a/flag_info.py +++ b/flag_info.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # # Copyright 2016 Google Inc. All rights reserved. # diff --git a/gen_version.py b/gen_version.py index 749f12edd..48581a82d 100755 --- a/gen_version.py +++ b/gen_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Google Inc. All rights reserved. # diff --git a/generate_emoji_html.py b/generate_emoji_html.py index 8e0d56ca7..09fa8ed03 100755 --- a/generate_emoji_html.py +++ b/generate_emoji_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2016 Google Inc. All rights reserved. # diff --git a/generate_emoji_name_data.py b/generate_emoji_name_data.py index b22805803..9a7262161 100755 --- a/generate_emoji_name_data.py +++ b/generate_emoji_name_data.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*-# # # Copyright 2015 Google Inc. All rights reserved. diff --git a/generate_emoji_thumbnails.py b/generate_emoji_thumbnails.py index e67da5339..5f70351e4 100755 --- a/generate_emoji_thumbnails.py +++ b/generate_emoji_thumbnails.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/generate_test_html.py b/generate_test_html.py index 21ab1c640..e45108cbd 100755 --- a/generate_test_html.py +++ b/generate_test_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2015 Google, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/map_pua_emoji.py b/map_pua_emoji.py index ff8d6a9b0..912ddac50 100644 --- a/map_pua_emoji.py +++ b/map_pua_emoji.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2014 Google Inc. All rights reserved. # diff --git a/materialize_emoji_images.py b/materialize_emoji_images.py index d8a8b0e86..83e3fdd21 100755 --- a/materialize_emoji_images.py +++ b/materialize_emoji_images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2016 Google Inc. All rights reserved. # diff --git a/strip_vs_from_filenames.py b/strip_vs_from_filenames.py index f27cb3c2f..f0f7422fd 100755 --- a/strip_vs_from_filenames.py +++ b/strip_vs_from_filenames.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017 Google Inc. All rights reserved. # diff --git a/svg_cleaner.py b/svg_cleaner.py index e968d2fc8..40d3827e9 100755 --- a/svg_cleaner.py +++ b/svg_cleaner.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2015 Google, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License");