How to make shutil.make_archive support symbol links?
zcbenz at gmail.com
zcbenz at gmail.com
Mon May 13 04:21:04 EDT 2013
Hi comp.lang.python group,
I'm trying to make a zip archive with shutil.make_archive, but it seems that it doesn't support symbol links, after creating a archive with shutil.make_archive, all the symbol links would be lost.
What I want is something like `zip -y`, which "stores symbolic links as the link instead of the referenced file", is it possible to do in pure python? I also looked into the zipfile module, but it mentions no symbol links.
Thanks.
Cheng
More information about the Python-list
mailing list