mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Closes #15173: Tidied up copyright statements and removed pythonv references.
This commit is contained in:
parent
e51a36922f
commit
2895244653
4 changed files with 14 additions and 14 deletions
|
@ -499,8 +499,8 @@ def venv(known_paths):
|
|||
global PREFIXES, ENABLE_USER_SITE
|
||||
|
||||
env = os.environ
|
||||
if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in env:
|
||||
executable = os.environ['__PYTHONV_LAUNCHER__']
|
||||
if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env:
|
||||
executable = os.environ['__PYVENV_LAUNCHER__']
|
||||
else:
|
||||
executable = sys.executable
|
||||
executable_dir, executable_name = os.path.split(executable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue