[issue13167] Add get_metadata to packaging

2012-02-27 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the feedback. > So, that would mean instead of > get_distribution(name).metadata['Version'] > you'd use > get_metadata(name)['Version'] > ? > I'm not sure that's really buys you much. Yeah. At the moment we also have get_distribution(name).version

[issue13167] Add get_metadata to packaging

2011-10-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 13, 2011, at 04:01 PM, Éric Araujo wrote: >The PEP 376 implementation in packaging.database has been called ugly and >opaque. When discussing PEP 396 for example (that’s why I’m adding Barry and >Antoine to nosy, for their feedback), >get_distribution(

[issue13167] Add get_metadata to packaging

2011-10-13 Thread Éric Araujo
New submission from Éric Araujo : The PEP 376 implementation in packaging.database has been called ugly and opaque. When discussing PEP 396 for example (that’s why I’m adding Barry and Antoine to nosy, for their feedback), get_distribution(name).metadata['Version'] did not seem to agree with