mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
gh-119535: python𝜋 (#119536)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
This commit is contained in:
parent
db23b8bb13
commit
3fc673e97d
1 changed files with 5 additions and 2 deletions
|
|
@ -303,8 +303,11 @@ def setup_python(self, context):
|
|||
copier(context.executable, path)
|
||||
if not os.path.islink(path):
|
||||
os.chmod(path, 0o755)
|
||||
for suffix in ('python', 'python3',
|
||||
f'python3.{sys.version_info[1]}'):
|
||||
|
||||
suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
|
||||
if sys.version_info[:2] == (3, 14):
|
||||
suffixes.append('python𝜋')
|
||||
for suffix in suffixes:
|
||||
path = os.path.join(binpath, suffix)
|
||||
if not os.path.exists(path):
|
||||
# Issue 18807: make copies if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue