def current_env():
 if (config.default_prefix == config.root_dir):
  name = config.root_env_name
 else:
  name = basename(config.default_prefix)
 return name

def current_env ( ) : if ( config . default_prefix == config . root_dir ) : name = config . root_env_name else : name = basename ( config . default_prefix ) return name
retrieves dictionary with current environments name and prefix .