예제 #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
파일: setup.py 프로젝트: joegomes/ase
 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
파일: setup.py 프로젝트: mcyril/ravel-ftn
import os, glob
예제 #13
0
파일: setup.py 프로젝트: arttnba3/ICTFE
 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
파일: setup.py 프로젝트: mcyril/ravel-ftn
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