[geany/geany] 13f761: Use the `py` launcher for Python filetype on Windows
Colomban Wendling
git-noreply at xxxxx
Sat Oct 10 07:35:32 UTC 2020
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Thu, 18 Jul 2019 16:21:18 UTC
Commit: 13f7618e101f0ec18d637d98038901b004d8243d
https://github.com/geany/geany/commit/13f7618e101f0ec18d637d98038901b004d8243d
Log Message:
-----------
Use the `py` launcher for Python filetype on Windows
Fixes #2211.
Modified Paths:
--------------
configure.ac
Modified: configure.ac
8 lines changed, 5 insertions(+), 3 deletions(-)
===================================================================
@@ -145,12 +145,14 @@ AM_COND_IF([MINGW],
AC_SUBST([GEANY_DATA_DIR], [$(eval echo $(eval echo $pkgdatadir))])
AC_SUBST([pkgdatadir])
-# The default Python command
+# The default Python command. On Windows, use the `py` launcher by default
AC_ARG_WITH([python-command],
[AS_HELP_STRING([--with-python-command],
- [the default Python command [default=python]])],
+ [the default Python command [defaults to "py" on Windows and "python" otherwise]])],
[with_python_command=$withval],
- [with_python_command=python])
+ [with_python_command=auto])
+AS_IF([test "x$with_python_command" = xauto],
+ [AM_COND_IF([MINGW], [with_python_command=py], [with_python_command=python])])
AC_SUBST([PYTHON_COMMAND], [$with_python_command])
# Documentation tools
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list