From f84730e30ff7ac94f5f5990eb5a28744ac2932b3 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Fri, 3 Sep 2021 16:23:18 -0700 Subject: [PATCH] sage_setup.clean: Do not clean the sage_setup installation in site-packages --- src/sage_setup/clean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage_setup/clean.py b/src/sage_setup/clean.py index 08b583f88af..e650e5f8f0f 100644 --- a/src/sage_setup/clean.py +++ b/src/sage_setup/clean.py @@ -103,7 +103,7 @@ def _find_stale_files(site_packages, python_packages, python_modules, ext_module CEXTMOD_EXTS = get_extensions('extension') INIT_FILES = tuple('__init__' + x for x in PYMOD_EXTS) - module_files = installed_files_by_module(site_packages, ['sage', 'sage_setup']) + module_files = installed_files_by_module(site_packages, ['sage']) for mod in python_packages: try: