parameters: (self)
docstring: Build modules, packages, and copy data files to build directory
docstring_summary: Build modules, packages, and copy data files to build directory
docstring_tokens: Build modules packages and copy data files to build directory
function: 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(_build_py.get_outputs(self, include_bytecode=0))
function_tokens: 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 ( _build_py . get_outputs ( self , include_bytecode = 0 ) )