(self)
Build modules, packages, and copy data files to build directory
Build modules, packages, and copy data files to build directory
Build modules packages and copy data files to build directory
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()

        self.run_2to3(self.__updated_files, False)
        self.run_2to3(self.__updated_files, True)
        self.run_2to3(self.__doctests_2to3, True)

        # Only compile actual .py files, using our base class' idea of what our
        # output files are.
        self.byte_compile(orig.build_py.get_outputs(self, include_bytecode=0))
def run ( self ) : 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 ( ) self . run_2to3 ( self . __updated_files , False ) self . run_2to3 ( self . __updated_files , True ) self . run_2to3 ( self . __doctests_2to3 , True ) # Only compile actual .py files, using our base class' idea of what our # output files are. self . byte_compile ( orig . build_py . get_outputs ( self , include_bytecode = 0 ) )