Export to GitHub

esmre - issue #4

PKG-INFO description has one word per line.


Posted on Jan 28, 2008 by Quick Rhino

What steps will reproduce the problem?

  1. Build a source distribution with python setup.py sdist.
  2. Unpack the generated tarball and inspect its PKG-INFO.
  3. Note that the 'Description' field is split on each word.

What is the expected output? What do you see instead?

The description field should be formatted as one line, or be properly justified.

Comment #1

Posted on Jan 28, 2008 by Quick Rhino

Fixed in revision 4.

To make it indent better, the long_description was being split on ' ' then joined with '\n'. The split was happening at every word boundary, not just at the line boundaries. I changed the join to use ' ' instead of '\n'.

Comment #2

Posted on May 2, 2008 by Quick Rhino

Released in r0_1_1.

Status: Released

Labels:
Type-Defect Priority-Medium