File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 33
33
from pip ._internal .utils .deprecation import deprecated
34
34
from pip ._internal .utils .hashes import Hashes
35
35
from pip ._internal .utils .logging import indent_log
36
- from pip ._internal .utils .marker_files import (
37
- PIP_DELETE_MARKER_FILENAME ,
38
- has_delete_marker_file ,
39
- )
36
+ from pip ._internal .utils .marker_files import PIP_DELETE_MARKER_FILENAME
40
37
from pip ._internal .utils .misc import (
41
38
ask_path_exists ,
42
39
backup_dir ,
46
43
get_installed_version ,
47
44
hide_url ,
48
45
redact_auth_from_url ,
49
- rmtree ,
50
46
)
51
47
from pip ._internal .utils .packaging import get_metadata
52
48
from pip ._internal .utils .temp_dir import TempDirectory , tempdir_kinds
@@ -423,11 +419,6 @@ def warn_on_mismatching_name(self):
423
419
424
420
def remove_temporary_source (self ):
425
421
# type: () -> None
426
- """Remove the source files from this requirement, if they are marked
427
- for deletion"""
428
- if self .source_dir and has_delete_marker_file (self .source_dir ):
429
- logger .debug ('Removing source in %s' , self .source_dir )
430
- rmtree (self .source_dir )
431
422
self .source_dir = None
432
423
self ._temp_build_dir = None
433
424
You can’t perform that action at this time.
0 commit comments