[New-bugs-announce] [issue14011] packaging should use shutil archiving functions transparently

Éric Araujo report at bugs.python.org
Tue Feb 14 17:03:51 CET 2012

New submission from Éric Araujo <merwok at netwok.org>:

The packaging commands sdist and bdist can create various kinds of archives.  The function used to create them is thankfully just a thin wrapper around shutil.make_archive (extracted from distutils), and sdist also uses shutil.get_archive_formats to validate its --formats option.  bdist however maintains its own registry.

The docstrings, help texts and reST documentation also contain out-of-sync duplicate lists of allowed formats.

I’m working on a patch to fix this duplication.

assignee: eric.araujo
components: Distutils2
messages: 153346
nosy: alexis, eric.araujo
priority: normal
severity: normal
status: open
title: packaging should use shutil archiving functions transparently
type: enhancement
versions: 3rd party, Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list