diff --git a/config/rootfiles/common/python3 b/config/rootfiles/common/python3
index d3bdc1c48..970cc57cd 100644
--- a/config/rootfiles/common/python3
+++ b/config/rootfiles/common/python3
@@ -1688,222 +1688,6 @@ usr/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing/util.py
 usr/lib/python3.10/site-packages/pkg_resources/_vendor/zipp.py
 usr/lib/python3.10/site-packages/pkg_resources/extern
 usr/lib/python3.10/site-packages/pkg_resources/extern/__init__.py
-#usr/lib/python3.10/site-packages/setuptools
-#usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/INSTALLER
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/LICENSE
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/METADATA
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/RECORD
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/REQUESTED
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/WHEEL
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/entry_points.txt
-usr/lib/python3.10/site-packages/setuptools-63.2.0.dist-info/top_level.txt
-usr/lib/python3.10/site-packages/setuptools/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_deprecation_warning.py
-usr/lib/python3.10/site-packages/setuptools/_distutils
-usr/lib/python3.10/site-packages/setuptools/_distutils/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/_collections.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/_functools.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/_macos_compat.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/_framework_compat.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/build.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/check.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/config.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/register.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/config.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/core.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/debug.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/errors.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/extension.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/file_util.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/filelist.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/log.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/py39compat.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/spawn.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/text_file.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/util.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/version.py
-usr/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py
-usr/lib/python3.10/site-packages/setuptools/_entry_points.py
-usr/lib/python3.10/site-packages/setuptools/_imp.py
-usr/lib/python3.10/site-packages/setuptools/_importlib.py
-usr/lib/python3.10/site-packages/setuptools/_itertools.py
-usr/lib/python3.10/site-packages/setuptools/_path.py
-usr/lib/python3.10/site-packages/setuptools/_reqs.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor
-usr/lib/python3.10/site-packages/setuptools/_vendor/__init__.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_collections.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_compat.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_functools.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_meta.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_text.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_adapters.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_common.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_compat.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_itertools.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_legacy.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/abc.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/readers.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/simple.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco
-usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco/context.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco/functools.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco/text
-usr/lib/python3.10/site-packages/setuptools/_vendor/jaraco/text/__init__.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/more_itertools
-usr/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/packaging
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/actions.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/common.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/core.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/diagram
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/diagram/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/exceptions.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/helpers.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/results.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/testing.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/unicode.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/pyparsing/util.py
-#usr/lib/python3.10/site-packages/setuptools/_vendor/tomli
-usr/lib/python3.10/site-packages/setuptools/_vendor/tomli/__init__.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/tomli/_parser.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/tomli/_re.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/tomli/_types.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/typing_extensions.py
-usr/lib/python3.10/site-packages/setuptools/_vendor/zipp.py
-usr/lib/python3.10/site-packages/setuptools/archive_util.py
-usr/lib/python3.10/site-packages/setuptools/build_meta.py
-usr/lib/python3.10/site-packages/setuptools/cli-32.exe
-usr/lib/python3.10/site-packages/setuptools/cli-64.exe
-usr/lib/python3.10/site-packages/setuptools/cli-arm64.exe
-usr/lib/python3.10/site-packages/setuptools/cli.exe
-#usr/lib/python3.10/site-packages/setuptools/command
-usr/lib/python3.10/site-packages/setuptools/command/__init__.py
-usr/lib/python3.10/site-packages/setuptools/command/alias.py
-usr/lib/python3.10/site-packages/setuptools/command/bdist_egg.py
-usr/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py
-usr/lib/python3.10/site-packages/setuptools/command/build.py
-usr/lib/python3.10/site-packages/setuptools/command/build_clib.py
-usr/lib/python3.10/site-packages/setuptools/command/build_ext.py
-usr/lib/python3.10/site-packages/setuptools/command/build_py.py
-usr/lib/python3.10/site-packages/setuptools/command/develop.py
-usr/lib/python3.10/site-packages/setuptools/command/dist_info.py
-usr/lib/python3.10/site-packages/setuptools/command/easy_install.py
-usr/lib/python3.10/site-packages/setuptools/command/egg_info.py
-usr/lib/python3.10/site-packages/setuptools/command/install.py
-usr/lib/python3.10/site-packages/setuptools/command/install_egg_info.py
-usr/lib/python3.10/site-packages/setuptools/command/install_lib.py
-usr/lib/python3.10/site-packages/setuptools/command/install_scripts.py
-usr/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml
-usr/lib/python3.10/site-packages/setuptools/command/py36compat.py
-usr/lib/python3.10/site-packages/setuptools/command/register.py
-usr/lib/python3.10/site-packages/setuptools/command/rotate.py
-usr/lib/python3.10/site-packages/setuptools/command/saveopts.py
-usr/lib/python3.10/site-packages/setuptools/command/sdist.py
-usr/lib/python3.10/site-packages/setuptools/command/setopt.py
-usr/lib/python3.10/site-packages/setuptools/command/test.py
-usr/lib/python3.10/site-packages/setuptools/command/upload.py
-usr/lib/python3.10/site-packages/setuptools/command/upload_docs.py
-#usr/lib/python3.10/site-packages/setuptools/config
-usr/lib/python3.10/site-packages/setuptools/config/__init__.py
-usr/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py
-usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject
-usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/__init__.py
-usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/error_reporting.py
-usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/extra_validations.py
-#usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py
-#usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
-usr/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/formats.py
-usr/lib/python3.10/site-packages/setuptools/config/expand.py
-usr/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py
-usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py
-usr/lib/python3.10/site-packages/setuptools/dep_util.py
-usr/lib/python3.10/site-packages/setuptools/depends.py
-usr/lib/python3.10/site-packages/setuptools/discovery.py
-usr/lib/python3.10/site-packages/setuptools/dist.py
-usr/lib/python3.10/site-packages/setuptools/errors.py
-usr/lib/python3.10/site-packages/setuptools/extension.py
-usr/lib/python3.10/site-packages/setuptools/extern
-usr/lib/python3.10/site-packages/setuptools/extern/__init__.py
-usr/lib/python3.10/site-packages/setuptools/glob.py
-usr/lib/python3.10/site-packages/setuptools/gui-32.exe
-usr/lib/python3.10/site-packages/setuptools/gui-64.exe
-usr/lib/python3.10/site-packages/setuptools/gui-arm64.exe
-usr/lib/python3.10/site-packages/setuptools/gui.exe
-usr/lib/python3.10/site-packages/setuptools/installer.py
-usr/lib/python3.10/site-packages/setuptools/launch.py
-usr/lib/python3.10/site-packages/setuptools/logging.py
-usr/lib/python3.10/site-packages/setuptools/monkey.py
-usr/lib/python3.10/site-packages/setuptools/msvc.py
-usr/lib/python3.10/site-packages/setuptools/namespaces.py
-usr/lib/python3.10/site-packages/setuptools/package_index.py
-usr/lib/python3.10/site-packages/setuptools/py34compat.py
-usr/lib/python3.10/site-packages/setuptools/sandbox.py
-usr/lib/python3.10/site-packages/setuptools/script (dev).tmpl
-usr/lib/python3.10/site-packages/setuptools/script.tmpl
-usr/lib/python3.10/site-packages/setuptools/unicode_utils.py
-usr/lib/python3.10/site-packages/setuptools/version.py
-usr/lib/python3.10/site-packages/setuptools/wheel.py
-usr/lib/python3.10/site-packages/setuptools/windows_support.py
 usr/lib/python3.10/site.py
 usr/lib/python3.10/smtpd.py
 usr/lib/python3.10/smtplib.py
diff --git a/lfs/python3 b/lfs/python3
index fe488cc13..4e5afa285 100644
--- a/lfs/python3
+++ b/lfs/python3
@@ -112,5 +112,8 @@ else
 	cd /usr/lib/python3.10 && find . | grep -E "(/test/)" | xargs rm -rf
 endif
 
+	# Remove the bundled setuptools directories
+	cd /usr/lib/python3.10/site-packages/ && rm -r setuptools*
+
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)
