summaryrefslogtreecommitdiff
path: root/libre/sagemath/clean.patch
blob: cfca01fcbaa4b937db807d40dcc3c43524838053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/setup.py.orig	2014-11-16 10:34:05.521441703 +0100
+++ src/setup.py	2014-11-16 10:34:16.054812569 +0100
@@ -620,21 +620,6 @@
 
 
 #########################################################
-### Clean
-#########################################################
-
-print('Cleaning up stale installed files....')
-t = time.time()
-from sage_setup.clean import clean_install_dir
-output_dirs = SITE_PACKAGES + glob.glob(os.path.join(SAGE_SRC, 'build', 'lib*'))
-for output_dir in output_dirs:
-    print('- cleaning {0}'.format(output_dir))
-    clean_install_dir(output_dir, python_packages, python_modules,
-            ext_modules, python_data_files)
-print('Finished cleaning, time: %.2f seconds.' % (time.time() - t))
-
-
-#########################################################
 ### Install also Jupyter kernel spec
 #########################################################