mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
makepanda: Python 3.8 no longer has d/m SOABI flags
This commit is contained in:
parent
0e27f19d94
commit
9fac30b3e8
@ -3393,6 +3393,9 @@ def GetPythonABI():
|
||||
|
||||
soabi = 'cpython-%d%d' % (sys.version_info[:2])
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
return soabi
|
||||
|
||||
debug_flag = sysconfig.get_config_var('Py_DEBUG')
|
||||
if (debug_flag is None and hasattr(sys, 'gettotalrefcount')) or debug_flag:
|
||||
soabi += 'd'
|
||||
|
@ -29,6 +29,9 @@ def get_abi_tag():
|
||||
|
||||
soabi = 'cp%d%d' % (sys.version_info[:2])
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
return soabi
|
||||
|
||||
debug_flag = get_config_var('Py_DEBUG')
|
||||
if (debug_flag is None and hasattr(sys, 'gettotalrefcount')) or debug_flag:
|
||||
soabi += 'd'
|
||||
|
Loading…
x
Reference in New Issue
Block a user