def get_lib_extension():
 if (sys.platform in ['win32', 'cygwin']):
  return 'pyd'
 else:
  return 'so'

def get_lib_extension ( ) : if ( sys . platform in [ 'win32' , 'cygwin' ] ) : return 'pyd' else : return 'so'
return the platform-dependent extension for compiled modules .