[issue43437] venv activate bash script has wrong line endings on windows

2021-03-17 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> venv activate bash script has wrong line endings in Windows ___ Python tracker

[issue43437] venv activate bash script has wrong line endings on windows

2021-03-08 Thread Eryk Sun
Eryk Sun added the comment: venv copies the scripts in binary mode, but apparently the Unix "activate" script already has CRLF line endings when Python is installed in Windows. Probably the POSIX "Lib/venv/scripts/common/activate" script needs a line-ending exception in ".gitattributes":

[issue43437] venv activate bash script has wrong line endings on windows

2021-03-08 Thread Jeff Moguillansky
New submission from Jeff Moguillansky : when running python.exe -m venv on Windows, It creates several activate scripts. The activate bash script has the wrong line endings (it should be unix-style, not windows-style). Bash scripts should always end with unix style line endings --