Пример #1
0
 def get_outputs(self):
     outputs = _install_lib.get_outputs(self)
     extra = []
     for of in outputs:
         if os.path.basename(of) == "amqp-0-10-qpid-errata-stripped.xml":
             extra.append(pclfile(of))
     return outputs + extra
Пример #2
0
 def get_outputs(self):
   outputs = _install_lib.get_outputs(self)
   extra = []
   for of in outputs:
     if os.path.basename(of) == "amqp-0-10-qpid-errata-stripped.xml":
       extra.append(pclfile(of))
   return outputs + extra
Пример #3
0
 def get_outputs(self):
     outputs = _install_lib.get_outputs(self)
     i18n_outputs = self._mutate_outputs(self.distribution.has_i18n_files(),
                                         'build_i18n', 'build_lib',
                                         self.install_dir)
     scss_outputs = self._mutate_outputs(self.distribution.has_scss_files(),
                                         'build_scss', 'build_lib',
                                         self.install_dir)
     return outputs + i18n_outputs + scss_outputs
Пример #4
0
    def get_outputs(self):
        res = install_lib.get_outputs(self)

        if not use_separate_namespace:
            return res

        # On some older distutils, the compiled objects are not included
        # if they don't exist on the filesystem (which is not a check
        # get_outputs() should do)
        def norm(filename):
            return os.path.normcase(out_file)

        pure_outputs = []
        for out_file in res:
            out_file_norm = norm(out_file)
            if out_file_norm.endswith('.py'):
                pure_outputs.append(out_file_norm)

        if self.compile and not [
                pyc for pyc in res if norm(out_file).endswith('.pyc')
        ]:
            res.extend([(pure_py + 'c') for pure_py in pure_outputs])
        if self.optimize > 0 and not [
                pyo for pyo in res if norm(out_file).endswith('.pyo')
        ]:
            res.extend([(pure_py + 'o') for pure_py in pure_outputs])
        # ---- end of fix ----

        res2 = []
        for full_fn in res:
            if full_fn.startswith(self.install_dir):
                partial_fn = full_fn[len(self.install_dir):].replace(
                    "Crypto", "Cryptodome")
                res2.append(self.install_dir + partial_fn)
            else:
                res2.append(full_fn)
        return res2
Пример #5
0
 def get_outputs(self):
     
     outputs = base.get_outputs(self)
     return outputs + [join(self.install_dir,
                            "qm", "test", "classes", "classes.qmc")]
Пример #6
0
 def get_outputs(self):
     outputs = _install_lib.get_outputs(self)
     exclude = self.get_exclusions()
     if exclude:
         return [f for f in outputs if f not in exclude]
     return outputs
Пример #7
0
    def get_outputs(self):
        filename = self._get_template()
        files = [filename] + self._bytecode_filenames([filename])

        return install_lib.get_outputs(self) + files
Пример #8
0
 def get_outputs(self):
     ret = install_lib.get_outputs(self)
     ret.extend([info[1] for info in self._get_dlls()])
     return ret
Пример #9
0
 def get_outputs(self):
     outputs = _install_lib.get_outputs(self)
     exclude = self.get_exclusions()
     if exclude:
         return [f for f in outputs if f not in exclude]
     return outputs
Пример #10
0
 def get_outputs(self):
     return [cmake_install_prefix()] + install_lib.get_outputs(self)
Пример #11
0
 def get_outputs(self):
     ret = install_lib.get_outputs(self)
     ret.extend([info[1] for info in self._get_dlls()])
     return ret
Пример #12
0
 def get_outputs(self):
     outputs = install_lib.get_outputs(self)
     msg_outputs = self._mutate_outputs(self.distribution.has_messages(),
                                        'build_messages', 'build_lib',
                                        self.install_dir)
     return msg_outputs + outputs
Пример #13
0
 def get_outputs (self):
     outputs = install_lib.get_outputs(self)
     msg_outputs = self._mutate_outputs(self.distribution.has_messages(),
                                        'build_messages', 'build_lib',
                                        self.install_dir)
     return msg_outputs + outputs
Пример #14
0
 def get_outputs(self):
     return install_lib.get_outputs(self) + self.local_outputs
Пример #15
0
 def get_outputs(self):
     return install_lib.get_outputs(self) + self.local_outputs
Пример #16
0
Файл: dist.py Проект: relsi/kiwi
    def get_outputs(self):
        filename = self._get_template()
        files = [filename] + self._bytecode_filenames([filename])

        return install_lib.get_outputs(self) + files
Пример #17
0
    def get_outputs(self):

        outputs = base.get_outputs(self)
        return outputs + [
            join(self.install_dir, "qm", "test", "classes", "classes.qmc")
        ]