Éric Araujo mer...@netwok.org added the comment:
a) is #14013; b) is #14011.
If Lars agrees to #14013, I will withdraw this patch in favor of another one
that would make shutil automatically support all compressors that tarfile
supports (my b) point).
Note that this is not going to be
Nadeem Vawda nadeem.va...@gmail.com added the comment:
This not-so-bad patch adds lzma compression support to the shutil functions,
under the 'xztar' name. Please review.
Functionally, the patch looks good to me. There are some docstrings that
should probably be updated, though:
-
Éric Araujo mer...@netwok.org added the comment:
This not-so-bad patch adds lzma compression support to the shutil functions,
under the 'xztar' name. Please review.
--
Added file: http://bugs.python.org/file24433/shutil-xz.diff
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I should add that a doc update will be part of the next patch.
In parallel, I’ve also started updating packaging to add lzma support to the
bdist command, but the situation is very disappointing: tarfile knows what
format it supports, shutil
Éric Araujo mer...@netwok.org added the comment:
distutils2/packaging now just uses the shutil functions. I’ll make a patch for
shutil after tarfile is updated.
--
assignee: tarek - eric.araujo
components: +Library (Lib) -Distutils2
title: add xz compression support to distutils - add
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
___
Python-bugs-list