ZIP only the content of the directory
This commit is contained in:
parent
946a28da0e
commit
c7a0d8c13b
|
@ -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=""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue