@@ -37,7 +37,7 @@ def prepend_root(path: str) -> str:
37
37
38
38
for line in record_lines :
39
39
directory = os .path .dirname (line )
40
- if directory .endswith (" .egg-info" ):
40
+ if directory .endswith (' .egg-info' ):
41
41
egg_info_dir = prepend_root (directory )
42
42
break
43
43
else :
@@ -56,9 +56,9 @@ def prepend_root(path: str) -> str:
56
56
new_lines .append (os .path .relpath (prepend_root (filename ), egg_info_dir ))
57
57
new_lines .sort ()
58
58
ensure_dir (egg_info_dir )
59
- inst_files_path = os .path .join (egg_info_dir , " installed-files.txt" )
60
- with open (inst_files_path , "w" ) as f :
61
- f .write (" \n " .join (new_lines ) + " \n " )
59
+ inst_files_path = os .path .join (egg_info_dir , ' installed-files.txt' )
60
+ with open (inst_files_path , 'w' ) as f :
61
+ f .write (' \n ' .join (new_lines ) + ' \n ' )
62
62
63
63
64
64
def install (
@@ -82,7 +82,7 @@ def install(
82
82
83
83
with TempDirectory (kind = "record" ) as temp_dir :
84
84
try :
85
- record_filename = os .path .join (temp_dir .path , " install-record.txt" )
85
+ record_filename = os .path .join (temp_dir .path , ' install-record.txt' )
86
86
install_args = make_setuptools_install_args (
87
87
setup_py_path ,
88
88
global_options = global_options ,
@@ -107,7 +107,7 @@ def install(
107
107
)
108
108
109
109
if not os .path .exists (record_filename ):
110
- logger .debug (" Record file %s not found" , record_filename )
110
+ logger .debug (' Record file %s not found' , record_filename )
111
111
# Signal to the caller that we didn't install the new package
112
112
return False
113
113
0 commit comments