[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

anatoly techtonik report at bugs.python.org
Fri Dec 26 17:12:18 CET 2008


anatoly techtonik <techtonik at gmail.com> added the comment:

I attach an improved patch1886.use.tarfile.module.diff that fixes all
bugs addressed in this issue.

It also removes second call to compression program leaving that
privilege to tar.

>  I notice that the archive generated by tarfile module looks
> different. Once I open it I see the following structure:
>
> dist (directory) -> archive_name.tar -> archive_name (directory)
> -> other subfiles

This bug is illustrated and patched (not released yet as somebody needs
to reopen it) in issue 1885. The extra path component is taken from the
name passed to GzipFile.

----------
nosy: +techtonik
versions: +Python 2.7
Added file: http://bugs.python.org/file12456/patch1886.use.tarfile.module.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1886>
_______________________________________


More information about the Python-bugs-list mailing list