makepanda: Fixes for wheel naming in 3.13t build
[skip ci]
This commit is contained in:
parent
fd7da1908f
commit
e9e9fb3584
|
|
@ -795,7 +795,7 @@ def MakeInstallerFreeBSD(version, python_versions=[], **kwargs):
|
|||
oscmd("rm -f %s/tmp/python_dep" % outputdir)
|
||||
|
||||
if "PYTHONVERSION" in SDK:
|
||||
pyver_nodot = SDK["PYTHONVERSION"][6:].rstrip('dmu').replace('.', '')
|
||||
pyver_nodot = SDK["PYTHONVERSION"][6:].rstrip('dmut').replace('.', '')
|
||||
else:
|
||||
pyver_nodot = "%d%d" % (sys.version_info[:2])
|
||||
|
||||
|
|
|
|||
|
|
@ -3505,7 +3505,7 @@ def GetCurrentPythonVersionInfo():
|
|||
return
|
||||
|
||||
return {
|
||||
"version": SDK["PYTHONVERSION"][6:].rstrip('dmu'),
|
||||
"version": SDK["PYTHONVERSION"][6:].rstrip('dmut'),
|
||||
"soabi": GetPythonABI(),
|
||||
"ext_suffix": GetExtensionSuffix(),
|
||||
"executable": sys.executable,
|
||||
|
|
|
|||
|
|
@ -19,13 +19,7 @@ from sysconfig import get_platform
|
|||
|
||||
|
||||
def get_abi_tag():
|
||||
soabi = get_config_var('SOABI')
|
||||
if soabi and soabi.startswith('cpython-'):
|
||||
return 'cp' + soabi.split('-')[1]
|
||||
elif soabi:
|
||||
return soabi.replace('.', '_').replace('-', '_')
|
||||
|
||||
return 'cp%d%d' % (sys.version_info[:2])
|
||||
return ('cp%d%d' % sys.version_info[:2]) + getattr(sys, 'abiflags', '')
|
||||
|
||||
|
||||
def is_exe_file(path):
|
||||
|
|
|
|||
Loading…
Reference in New Issue