def global_profile(self): if self._global_profile is None: self._global_profile = ProfileFactory.get( self.app_dir, name="global", app_name=self.app_name ) return self._global_profile
def workgroup_profile(self): if not self._workgroup_profile: name = self.main_command.path self._workgroup_profile = ProfileFactory.get( os.path.dirname(self.project) + '/.{}'.format(name), name="workgroup", app_name=self.app_name, ) if self.project else None return self._workgroup_profile
def local_profile(self): if not self._local_profile: self._local_profile = ProfileFactory.get( os.path.join( self.project, "." + self.main_command.path ), name="local", app_name=self.app_name, ) if self.project else None return self._local_profile