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 Mo
Recipients Mo, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-10-25.08:18:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571991499.68.0.815914394277.issue38583@roundup.psfhosted.org>
In-reply-to
Content
The issue comes as a result of abspath on line 59 of venv/__init__.py:
        env_dir = os.path.abspath(env_dir)

This returns a Windows-style path, and os.path.abspath returning in this way is *probably* correct, as the OS is Windows, despite trying to forget that by using bash.

It is still my view that the activate script is a bash script, and therefore should only contain paths in that style, but the simple solution to this issue is to change the double quotes around the definition of $VIRTUAL_ENV in the activate script to single quotes. It works. The output of "which python" is a bit odd, but this is clearly a quirk beyond Python's control.
History
Date User Action Args
2019-10-25 08:18:19Mosetrecipients: + Mo, paul.moore, tim.golden, zach.ware, steve.dower
2019-10-25 08:18:19Mosetmessageid: <1571991499.68.0.815914394277.issue38583@roundup.psfhosted.org>
2019-10-25 08:18:19Molinkissue38583 messages
2019-10-25 08:18:19Mocreate