_macos_compat.py 239 B

123456789101112
  1. import sys
  2. import importlib
  3. def bypass_compiler_fixup(cmd, args):
  4. return cmd
  5. if sys.platform == 'darwin':
  6. compiler_fixup = importlib.import_module('_osx_support').compiler_fixup
  7. else:
  8. compiler_fixup = bypass_compiler_fixup