Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging should use shutil archiving functions transparently #58219

Closed
merwok opened this issue Feb 14, 2012 · 1 comment
Closed

packaging should use shutil archiving functions transparently #58219

merwok opened this issue Feb 14, 2012 · 1 comment
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@merwok
Copy link
Member

merwok commented Feb 14, 2012

BPO 14011
Nosy @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/merwok'
closed_at = <Date 2014-03-13.00:39:35.064>
created_at = <Date 2012-02-14.16:03:50.630>
labels = ['type-feature', 'docs']
title = 'packaging should use shutil archiving functions transparently'
updated_at = <Date 2014-03-13.00:39:35.063>
user = 'https://github.com/merwok'

bugs.python.org fields:

activity = <Date 2014-03-13.00:39:35.063>
actor = 'eric.araujo'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2014-03-13.00:39:35.064>
closer = 'eric.araujo'
components = ['Documentation', 'Distutils2']
creation = <Date 2012-02-14.16:03:50.630>
creator = 'eric.araujo'
dependencies = []
files = []
hgrepos = []
issue_num = 14011
keywords = []
message_count = 1.0
messages = ['153346']
nosy_count = 2.0
nosy_names = ['eric.araujo', 'alexis']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue14011'
versions = ['3rd party', 'Python 3.3']

@merwok
Copy link
Member Author

merwok commented Feb 14, 2012

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.

@merwok merwok self-assigned this Feb 14, 2012
@merwok merwok added the type-feature A feature request or enhancement label Feb 14, 2012
@RamchandraApte RamchandraApte mannequin added the docs Documentation in the Doc dir label Feb 14, 2012
@merwok merwok closed this as completed Mar 13, 2014
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant