File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,6 @@ def _update_metadata(self):
56
56
self ._final_dist_dir ,
57
57
distribution_source = DISTRIBUTION_SOURCE_EXE ,
58
58
)
59
- for distinfo in self ._utils .glob (
60
- '**/*.dist-info' , root = self ._final_dist_dir
61
- ):
62
- self ._utils .rmtree (os .path .join (self ._final_dist_dir , distinfo ))
63
59
64
60
def _ensure_no_existing_build_dir (self ):
65
61
if self ._utils .isdir (self ._dist_dir ):
Original file line number Diff line number Diff line change @@ -95,13 +95,6 @@ def update_metadata(dirname, **kwargs):
95
95
json .dump (metadata , f )
96
96
97
97
98
- def remove_dist_info (dirname ):
99
- with cd (dirname ):
100
- for distinfo in glob .glob ("**/*.dist-info" , recursive = True ):
101
- path = os .path .join (dirname , distinfo )
102
- shutil .rmtree (path )
103
-
104
-
105
98
def save_to_zip (dirname , zipfile_name ):
106
99
if zipfile_name .endswith ('.zip' ):
107
100
zipfile_name = zipfile_name [:- 4 ]
You can’t perform that action at this time.
0 commit comments