[Python-Dev] Zip format (was: Questions about distutils strategy )

James C. Ahlstrom jim@interet.com
Fri, 10 Dec 1999 13:43:18 -0500


Jack Jansen wrote:

> When people suggested to use zip format as the standard Python archive format
> I was a bit worried, becuase I've had it happen to me various times that I was
> unable to create a ZIP archive with two files with the same name but different
> paths (i.e. create an archive of a directory that contains both a foo/bar.py
> and a foo/spam/bar.py).

No problem.

But most zip tools will create an archive with either no
path (file name is "bar.py") or full path (filename "foo/bar.py".
If paths are different Ok, not sure about duplicate bare names.
The difference is an option and has nothing to do with how the
file name is specified to the utility.

JimA