3import os
4import re
5import shutil
6from distutils.dir_util import copy_tree, remove_tree 7from pathlib import Path
8
9logger = logging.getLogger(__name__)
The module imported has been deprecated for the current version of Python.
Deprecated modules no longer get new feature or security updates, and are usually removed from the Python standard library 3-5 years after deprecation. It is highly recommended to stop depending on deprecated built-in modules.