'Setup the attributes of a non-related field.'

def _setup_regular_base(self, model):

    def make_depends(deps):
        return tuple((deps(model) if callable(deps) else deps))
    if isinstance(self.compute, basestring):
        self.depends = ()
        for method in resolve_mro(model, self.compute, callable):
            self.depends += make_depends(getattr(method, '_depends', ()))
    else:
        self.depends = make_depends(getattr(self.compute, '_depends', ()))
