[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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":

https://github.com/python/cpython/blob/master/.gitattributes

--
components: +Library (Lib)
nosy: +eryksun
versions: +Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

--
components: Windows
messages: 388276
nosy: jmoguill2, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: venv activate bash script has wrong line endings on windows
type: compile error
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com