bpo-39656: Ensure `bin/python3.#` is always present in virtual environments on POSIX (GH-19030)
This commit is contained in:
parent
2037502613
commit
58ec58a42b
|
@ -243,7 +243,7 @@ class EnvBuilder:
|
|||
copier(context.executable, path)
|
||||
if not os.path.islink(path):
|
||||
os.chmod(path, 0o755)
|
||||
for suffix in ('python', 'python3'):
|
||||
for suffix in ('python', 'python3', f'python3.{sys.version_info[1]}'):
|
||||
path = os.path.join(binpath, suffix)
|
||||
if not os.path.exists(path):
|
||||
# Issue 18807: make copies if
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Ensure ``bin/python3.#`` is always present in virtual environments on POSIX
|
||||
platforms - by Anthony Sottile.
|
Loading…
Reference in New Issue