New submission from Tal Einat <talei...@gmail.com>:
On windows several .bat scripts call find_python.bat to find an appropriate python.exe. find_python.bat has no specific support for virtual envs, and usually ends up calling py.exe to find python.exe. Due to virtual envs not including a py.exe, this effectively ignores having an activated virtual env. It is currently possible to build with the specific python that one wants by setting the PYTHON env var. However, this is a simplistic and non-standard solution compared to virtual envs. IMO when there is an active virtual env, these scripts should certainly use python.exe from it! ---------- assignee: docs@python components: Documentation messages: 356649 nosy: docs@python, taleinat priority: normal severity: normal status: open title: On Windows, build scripts should prefer using python.exe from an active virtual env type: enhancement versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38809> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com