1 --- a/backends/pep517.py 2023-02-16 02:15:30.000000000 +0800
2 +++ b/backends/pep517.py 2023-02-18 01:31:54.245328767 +0800
14 def _build_and_inject_ac_index(build_dir, extracted_wheel_dir):
15 - ac_index_build_name = _build_ac_index(build_dir)
16 + ac_index_dir = tempfile.mkdtemp()
17 + ac_index_build_name = _build_ac_index(ac_index_dir)
18 extracted_ac_index = os.path.join(extracted_wheel_dir, AC_INDEX_REL_PATH)
19 _remove_file_if_exists(extracted_ac_index)
20 print("Adding auto-complete index into wheel")
26 + shutil.rmtree(ac_index_dir)
29 def _build_ac_index(build_dir, rebuild=True):