예제 #1
0
    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
예제 #2
0
파일: Dist.py 프로젝트: H1d3r/binary_blobs
    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