Пример #1
0
    def done(self):
        def process(resp):
            pass  # ignore result, don't care

        for extn in self._builder._extn_reg._paths:
            process_extension(extn, self._builder._ctx, 'configure', process)
        return self._builder
Пример #2
0
 def done(self):
     def process(retcode):
         if retcode != 0:
             raise RuntimeError('Extension Failed with [%s]' % retcode)
     for path in self._paths:
         process_extension(path, self._ctx, 'compile', process,
                           args=[self._installer])
     self._ctx['EXTENSIONS'].extend(self._paths)
     return self._installer
Пример #3
0
    def extensions(self):
        ctx = self.builder._ctx
        extn_reg = self.builder._extn_reg

        def process(retcode):
            if retcode != 0:
                raise RuntimeError('Extension Failed with [%s]' % retcode)
        for path in extn_reg._paths:
            process_extension(path, ctx, 'compile', process, args=[self])
        ctx['EXTENSIONS'].extend(extn_reg._paths)
        return self
Пример #4
0
    def extensions(self):
        ctx = self.builder._ctx
        extn_reg = self.builder._extn_reg

        def process(retcode):
            if retcode != 0:
                raise RuntimeError('Extension Failed with [%s]' % retcode)
        for path in extn_reg._paths:
            process_extension(path, ctx, 'compile', process, args=[self])
        ctx['EXTENSIONS'].extend(extn_reg._paths)
        return self
Пример #5
0
    def done(self):
        def process(retcode):
            if retcode != 0:
                raise RuntimeError('Extension Failed with [%s]' % retcode)

        for path in self._paths:
            process_extension(path,
                              self._ctx,
                              'compile',
                              process,
                              args=[self._installer])
        self._ctx['EXTENSIONS'].extend(self._paths)
        return self._installer
Пример #6
0
 def done(self):
     def process(resp):
         pass  # ignore result, don't care
     for extn in self._builder._extn_reg._paths:
         process_extension(extn, self._builder._ctx, 'configure', process)
     return self._builder