Add Extension-level configurability of metadata.

Review Request #4172 — Created May 26, 2013 and submitted

Information

Djblets
master

Reviewers

Add Extension-level configurability of metadata.

Extensions were taking the parent package's metadata, but this meant
that a package could only contain one extension, which is annoying.
Technically, they could contain more, but each would get the name,
version, etc. of the main package itself.

Now, an Extension can define a metadata dictionary that contains the
information. The keys/values are in the form of standard PyPI package
metadata. This will let us stay consistent in how we represent metadata
across all packages, which will be important later for an extension
store.
Tested with an extension I had living in another package. I went from
seeing the package's metadata to seeing the extension's.
Description From Last Updated

Col: 46 E127 continuation line over-indented for visual indent

reviewbotreviewbot

Col: 46 E127 continuation line over-indented for visual indent

reviewbotreviewbot
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/extensions/base.py
        djblets/extensions/tests.py
      Ignored Files:
    
    
  2. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues
    Col: 46
     E127 continuation line over-indented for visual indent
    
  3. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues
    Col: 46
     E127 continuation line over-indented for visual indent
    
  4. 
      
david
  1. Aside from ReviewBot's comments, this looks good.
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (e38576c)