def _get_toplevel_options(self): """Return the non-display options recognized at the top level. This includes options that are recognized *only* at the top level as well as options recognized for commands. """ if sys.version < '2.4': toplevel_options = self.global_options else: toplevel_options = Distribution._get_toplevel_options(self) return toplevel_options + self.toplevel_options