def is_py2exe_or_cx_Freeze():
 return osp.isfile(osp.join(get_module_path('spyder'), osp.pardir))

def is_py2exe_or_cx_Freeze ( ) : return osp . isfile ( osp . join ( get_module_path ( 'spyder' ) , osp . pardir ) )
return true if this is a py2exe/cx_freeze distribution of spyder .