MCPcopy Create free account
hub / github.com/cxapython/catvm / clean

Function clean

selenium/deploy_aws.py:96–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95
96def clean():
97 # 删除中间文件
98 try:
99 shutil.rmtree(os.path.join(cur_dir, 'build'), ignore_errors=True)
100 shutil.rmtree(os.path.join(cur_dir, 'dist'), ignore_errors=True)
101 egg_infos = find_files('*.egg-info', cur_dir)
102 for egg_info in egg_infos:
103 shutil.rmtree(egg_info, ignore_errors=True)
104 os.remove(os.path.join(cur_dir, 'setup.py'))
105 except Exception as e:
106 pass
107
108
109def get_services(service_name):

Callers 1

mainFunction · 0.70

Calls 2

removeMethod · 0.80
find_filesFunction · 0.70

Tested by

no test coverage detected