Пример #1
0
    def get_outputs(self, include_bytecode=1):
        # Overridden to append our compiled templates

        outputs = _build_py.get_outputs(self, include_bytecode)
        outputs.extend(self.get_template_outputs(include_bytecode))

        return outputs
    def get_outputs(self, include_bytecode=1):
        # Overridden to append our compiled templates in addition to
        # the normal build outputs.

        outputs = build_py.get_outputs(self, include_bytecode)
        outputs.extend(self.get_template_outputs(include_bytecode))

        return outputs
Пример #3
0
    def get_outputs(self, include_bytecode=1):
        # Overridden to append our compiled templates in addition to
        # the normal build outputs.

        outputs = build_py.get_outputs(self, include_bytecode)
        outputs.extend(self.get_template_outputs(include_bytecode))

        return outputs
Пример #4
0
        def get_outputs(self, include_bytecode=1):
            """Return complete list of files copied to the build directory

            This includes both '.py' files and data files, as well as '.pyc'
            and '.pyo' files if 'include_bytecode' is true.  (This method is
            needed for the 'install_lib' command to do its job properly, and to
            generate a correct installation manifest.)
            """
            return _build_py.get_outputs(self, include_bytecode) + [
                os.path.join(build_dir, filename)
                for package, src_dir, build_dir, filenames in self.data_files
                for filename in filenames
            ]
Пример #5
0
        def get_outputs(self, include_bytecode=1):
            """Return complete list of files copied to the build directory

            This includes both '.py' files and data files, as well as '.pyc'
            and '.pyo' files if 'include_bytecode' is true.  (This method is
            needed for the 'install_lib' command to do its job properly, and to
            generate a correct installation manifest.)
            """
            return _build_py.get_outputs(self, include_bytecode) + [
                os.path.join(build_dir, filename)
                for package, src_dir, build_dir, filenames in self.data_files
                for filename in filenames
            ]
Пример #6
0
 def get_outputs(self, include_bytecode=1):
     # returns the built files
     outputs = build_py.get_outputs(self, include_bytecode)
     if not include_bytecode:
         return outputs
     for name in txt_files:
         filename = self.get_plain_outfile(self.build_lib, [idlelib], name)
         outputs.append(filename)
     for name in Icons:
         filename = self.get_plain_outfile(self.build_lib,
                                           [idlelib, "Icons"], name)
         outputs.append(filename)
     return outputs
Пример #7
0
 def get_outputs(self, include_bytecode=1):
     # returns the built files
     outputs = build_py.get_outputs(self, include_bytecode)
     if not include_bytecode:
         return outputs
     for name in txt_files:
         filename = self.get_plain_outfile(self.build_lib,
                                           [idlelib], name)
         outputs.append(filename)
     for name in Icons:
         filename = self.get_plain_outfile(self.build_lib,
                                           [idlelib,"Icons"], name)
         outputs.append(filename)
     return outputs
Пример #8
0
    def run(self):
        """Build modules, packages, and copy data files to build directory"""
        if not self.py_modules and not self.packages:
            return

        if self.py_modules:
            self.build_modules()

        if self.packages:
            self.build_packages()
            self.build_package_data()

        # Only compile actual .py files, using our base class' idea of what our
        # output files are.
        self.byte_compile(_build_py.get_outputs(self, include_bytecode=0))
Пример #9
0
    def run(self):
        """Build modules, packages, and copy data files to build directory"""
        if not self.py_modules and not self.packages:
            return

        if self.py_modules:
            self.build_modules()

        if self.packages:
            self.build_packages()
            self.build_package_data()

        # Only compile actual .py files, using our base class' idea of what our
        # output files are.
        self.byte_compile(_build_py.get_outputs(self, include_bytecode=0))
Пример #10
0
 def get_outputs(self, *args, **kwargs):
     return _build_py.get_outputs(self, *args, **kwargs) + self.mofiles
Пример #11
0
 def get_outputs(self, *args, **kwargs):
     return _build_py.get_outputs(self, *args, **kwargs) + self.mofiles
Пример #12
0
import os, glob
Пример #13
0
 def get_outputs(self, include_bytecode=1):
     outputs = build_py.get_outputs(self, include_bytecode=include_bytecode)
     for header in package_data:
         target = os.path.join(self.build_lib, 'pybind11', header)
         outputs.append(target)
     return outputs
Пример #14
0
import os,glob
Пример #15
0
 def get_outputs(self, include_bytecode=1):
     outputs = build_py.get_outputs(self, include_bytecode=include_bytecode)
     for header in headers:
         target = os.path.join(self.build_lib, 'pfifo', header)
         outputs.append(target)
     return outputs