ZIP only the content of the directory

This commit is contained in:
Emmanuel Engelhart 2024-10-31 16:43:34 +01:00 committed by Kelson
parent 946a28da0e
commit c7a0d8c13b
1 changed files with 1 additions and 1 deletions

View File

@ -73,5 +73,5 @@ print(
- With {out_dir.name}""" - With {out_dir.name}"""
) )
shutil.make_archive( shutil.make_archive(
archive_path.with_suffix(""), "zip", root_dir=out_dir.parent, base_dir=out_dir.name archive_path.with_suffix(""), "zip", root_dir=out_dir, base_dir=""
) )