mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
bpo-39656: Ensure bin/python3.# is always present in virtual environments on POSIX (GH-19030)
This commit is contained in:
parent
2037502613
commit
58ec58a42b
2 changed files with 3 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ def setup_python(self, context):
|
|||
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…
Add table
Add a link
Reference in a new issue