You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the standard Python installer already associates the .py extension with a file type (Python.File) and gives that file type an open command that runs the interpreter (D:\Program Files\Python\python.exe "%1" %*).
Description:
Associate .py with python on Windows when running actions/setup-python@v4
Justification:
I want to test that my .py have executable permission set relying on shebang line. That passes on Ubuntu. Windows doesn't care about file permissions set by git, but it has a different mechanism:
https://docs.python.org/3/faq/windows.html#how-do-i-make-python-scripts-executable
and https://docs.python.org/3/using/windows.html#from-file-associations:
Apparently that doesn't happen when using actions/setup-python@v4
Are you willing to submit a PR?
No
The text was updated successfully, but these errors were encountered: