setup.py
def run(self):
        """overridden from install_lib class"""
        install_lib.install_lib.run(self)
        # manually install included directories if any
        if include_dirs:
            for directory in include_dirs:
                dest = join(self.install_dir, directory)
                if sys.version_info >= (3, 0):
                    exclude = {"invalid_encoded_data*", "unknown_encoding*"}
                else:
                    exclude = set()
                shutil.rmtree(dest, ignore_errors=True)
                shutil.copytree(
                    directory, dest, ignore=shutil.ignore_patterns(*exclude)
                )
def run(self):
        install_lib.install_lib.run(self)
        # manually install included directories if any
        if include_dirs:
            for directory in include_dirs:
                dest = join(self.install_dir, directory)
                if sys.version_info >= (3, 0):
                    exclude = {"invalid_encoded_data*", "unknown_encoding*"}
                else:
                    exclude = set()
                shutil.rmtree(dest, ignore_errors=True)
                shutil.copytree(
                    directory, dest, ignore=shutil.ignore_patterns(*exclude)
                )
def run ( self ) : install_lib . install_lib . run ( self ) # manually install included directories if any if include_dirs : for directory in include_dirs : dest = join ( self . install_dir , directory ) if sys . version_info >= ( 3 , 0 ) : exclude = { "invalid_encoded_data*" , "unknown_encoding*" } else : exclude = set ( ) shutil . rmtree ( dest , ignore_errors = True ) shutil . copytree ( directory , dest , ignore = shutil . ignore_patterns ( * exclude ) )
overridden from install_lib class
overridden from install_lib class