Skip to content

Commit

Permalink
Switch to Python 3 for GTK doc header generation (#2903)
Browse files Browse the repository at this point in the history
Use python3 whenever possible. Python 2 is EOL and the python binary might not be installed.

This obsoletes a Debian patch applied to their package.

Co-authored-by: Enrico Tröger <enrico.troeger@uvena.de>
  • Loading branch information
elextr and eht16 committed Feb 6, 2022
1 parent 977928a commit 1b38513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion m4/geany-gtkdoc-header.m4
Expand Up @@ -21,7 +21,7 @@ AC_DEFUN([GEANY_CHECK_GTKDOC_HEADER],
[test "x$geany_enable_gtkdoc_header" != "xno"],
[
dnl python
AM_PATH_PYTHON([2.7], [have_python=yes], [have_python=no])
AM_PATH_PYTHON([3], [have_python=yes], [have_python=no])
dnl lxml module
AS_IF([test "x$have_python" = xyes],
[have_python_and_lxml=yes
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen-api-gtkdoc.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright 2015 The Geany contributors
#
Expand Down

0 comments on commit 1b38513

Please sign in to comment.