()
| 94 | |
| 95 | |
| 96 | def 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 | |
| 109 | def get_services(service_name): |
no test coverage detected