This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Kevin, astanton1978, erik.bray, eryksun, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2019-04-12.13:16:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555075007.52.0.730276325356.issue32451@roundup.psfhosted.org>
In-reply-to
Content
Why is the bash/zsh "activate" script getting distributed with CRLF line endings? Apparently Windows builds of bash (e.g. git-bash) can handle CRLF line endings, but Cygwin bash cannot.

As to Linux bash in WSL, the activate script from a virtual environment created by Windows Python can't be used anyway. It modifies $PATH using a DOS path like "C:\taco" as opposed to a WSL path like "/mnt/c/taco".

> when running "pip freeze" in number 3 it returns the system 
> packages despite the "include-system-site-packages = False" 
> in pyvenv.cfg 

The 3rd attempt is just running activate.bat from a CMD shell. That should work, unless you `exit` out of CMD back to bash. Anyway, check `where.exe pip` after activating. It should find "C:\taco\Scripts\pip.exe" first.
History
Date User Action Args
2019-04-12 13:16:47eryksunsetrecipients: + eryksun, paul.moore, tim.golden, r.david.murray, erik.bray, zach.ware, steve.dower, Kevin, astanton1978
2019-04-12 13:16:47eryksunsetmessageid: <1555075007.52.0.730276325356.issue32451@roundup.psfhosted.org>
2019-04-12 13:16:47eryksunlinkissue32451 messages
2019-04-12 13:16:47eryksuncreate