Delete the frozen python dir

I verified that all the files remaining in it are loaded via the python
resource system and so are not needed.
This commit is contained in:
Kovid Goyal
2022-08-20 13:05:12 +05:30
parent 6ca39d9d83
commit 4cc0138a28
2 changed files with 2 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ def copy_python(env):
iv['sanitize_source_folder'](os.path.join(env.py_dir, x))
py_compile(env.py_dir)
freeze_python(env.py_dir, pdir, env.obj_dir, ext_map, develop_mode_env_var='KITTY_DEVELOP_FROM', remove_pyc_files=True)
shutil.rmtree(env.py_dir)
def build_launcher(env):