Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 4f94fdd

Browse files
author
Matthias Koeppe
committed
src/sage_setup/command/sage_install.py: Do not attempt to clean the install directory
1 parent 11507a5 commit 4f94fdd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sage_setup/command/sage_install.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ def clean_stale_files(self):
9393
nobase_data_files = [(src_dir, [os.path.join(src_dir, filename) for filename in filenames])
9494
for package, src_dir, build_dir, filenames in cmd_build_py.data_files]
9595

96-
# Clean install directory (usually, purelib and platlib are the same)
97-
# and build directory.
98-
output_dirs = [self.install_purelib, self.install_platlib, self.build_lib]
96+
# Clean build directory.
97+
output_dirs = [self.build_lib]
9998
from sage_setup.clean import clean_install_dir
10099
for output_dir in set(output_dirs):
101100
log.info('- cleaning {0}'.format(output_dir))

0 commit comments

Comments
 (0)