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

Function clean

selenium/deploy.py:90–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 raise Exception('ERROR: deploy failed. status code: {}, reason: {}\n'.format(resp.status_code, resp.reason))
89
90def clean():
91 # 删除中间文件
92 try:
93 shutil.rmtree(os.path.join(cur_dir, 'build'), ignore_errors=True)
94 egg_infos = find_files('*.egg-info', cur_dir)
95 for egg_info in egg_infos:
96 shutil.rmtree(egg_info, ignore_errors=True)
97 os.remove(os.path.join(cur_dir, 'setup.py'))
98 except Exception as e:
99 pass
100
101def get_services(service_name):
102 if 'HOST_IP' not in os.environ:

Callers 1

mainFunction · 0.70

Calls 2

removeMethod · 0.80
find_filesFunction · 0.70

Tested by

no test coverage detected