def get_cfg_args():
 if (not os.path.exists('setup.cfg')):
  return {}
 cfg = ConfigParser()
 cfg.read('setup.cfg')
 cfg = cfg2dict(cfg)
 g = cfg.setdefault('global', {})
 for key in ['libzmq_extension', 'bundle_libzmq_dylib', 'no_libzmq_extension', 'have_sys_un_h', 'skip_check_zmq', 'bundle_msvcp']:
  if (key in g):
   g[key] = eval(g[key])
 cfg.update(cfg.pop('global'))
 return cfg

def get_cfg_args ( ) : if ( not os . path . exists ( 'setup.cfg' ) ) : return { } cfg = ConfigParser ( ) cfg . read ( 'setup.cfg' ) cfg = cfg2dict ( cfg ) g = cfg . setdefault ( 'global' , { } ) for key in [ 'libzmq_extension' , 'bundle_libzmq_dylib' , 'no_libzmq_extension' , 'have_sys_un_h' , 'skip_check_zmq' , 'bundle_msvcp' ] : if ( key in g ) : g [ key ] = eval ( g [ key ] ) cfg . update ( cfg . pop ( 'global' ) ) return cfg
look for options in setup .