def load_version():
 globals_dict = {}
 with codecs.open(os.path.join('imblearn', 'version.py'), encoding='utf-8-sig') as fp:
  exec fp.read() in globals_dict
 return globals_dict

def load_version ( ) : globals_dict = { } with codecs . open ( os . path . join ( 'imblearn' , 'version.py' ) , encoding = 'utf-8-sig' ) as fp : exec fp . read ( ) in globals_dict return globals_dict
executes imblearn/version .