The first commit can be generally useful if e.g. Python is not generally found 
in the PATH, for selecting `python3` by default, or if the environment doesn't 
provide a generic `python` link but only versioned ones (like `python2` and 
`python3`).

The second one implements the suggestion from #2211 on top of this.  I have no 
idea if that suggestion makes sense as I don't use Windows and don't have 
enough Python-on-Windows knowledge.  @eht16 what do you think?

@novel-yet-trivial could you test this if you can build Geany?  I didn't 
actually test it on Winodws so it properly working is only theoretical, 
although I'm quite confident.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2223

-- Commit Summary --

  * Add support for selecting the default Python command
  * Use the `py` launcher for Python filetype on Windows

-- File Changes --

    M configure.ac (11)
    M data/Makefile.am (12)
    R data/filedefs/filetypes.python.in (4)

-- Patch Links --

https://github.com/geany/geany/pull/2223.patch
https://github.com/geany/geany/pull/2223.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2223

Reply via email to