tarball format inconcistent between bdist_rpm and sdist (and maybe other)

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by reading bdist.py and the option handling for bdist_rpm and sdist. Trace how each command selects its tarball format, then determine the shared option name and behavior expected across both commands. Done means the formats are configured consistently and the bdist.py exception for bdist_rpm is no longer needed.

Written by the indexing model from the issue text.

Description

tarball format inconcistent between bdist_rpm and sdist (and maybe other)

[bdist_rpm]
use-bzip2 = 1
[sdist]
formats = bztar

Can't it be unified? this is ugly to have different option name for the same thing depending on the context.

That would also help removing the following line from bdist.py:
# The following commands do not take a format option from bdist
no_format_option = ('bdist_rpm',)

Dominant language
Python
Stars
3
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from enthought/Python-2.7.3

All issues in enthought/Python-2.7.3

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.