diff options
Diffstat (limited to 'Tools/freeze')
-rwxr-xr-x | Tools/freeze/freeze.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 08d09e7..3ab56fd 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -217,7 +217,10 @@ def main(): # locations derived from options version = '%d.%d' % sys.version_info[:2] - flagged_version = version + sys.abiflags + if hasattr(sys, 'abiflags'): + flagged_version = version + sys.abiflags + else: + flagged_version = version if win: extensions_c = 'frozen_extensions.c' if ishome: |