#1740 PKG-INFOs currently show UNKNOWN for most fields

v1.0.0
closed
General
nobody
2015-08-20
2011-03-16
Anonymous
No

Originally created by: jowens81

In the eggs for each of the packages PKG-INFO currently doesn't fill in most metadata.

PEP 345 describes field requirements, options, and formatting for python package metadata.

Discussion

  • Anonymous - 2011-03-17

    Originally by: jowens81

    Threw together the layout below from pep 345 before realizing the egg info is being auto generated during setup. Happy to track it down how to have it generated in the setup if you guys want to have it used.

    Metadata-Version: 1.2
    Name: Allura
    Version: 0.1dev
    Summary: Base distribution of the Allura development platform
    Author: SourceForge Team
    Author-email: allura@geek.net
    Home-page: http://sourceforge.net/
    Project-URL: Project Home, https://sourceforge.net/p/allura/
    Project-URL: Code Repository, https://sourceforge.net/p/allura/git/
    Project-URL: Bug Tracker, https://sourceforge.net/p/allura/tickets/
    Project-URL: Project Wiki, https://sourceforge.net/p/allura/wiki/
    Platform: Linux
    Platform: MacOSX
    Requires-Python: 2.6
    License: Apache License, http://www.apache.org/licenses/LICENSE-2.0
    Keywords: sourceforge allura turbogears pylons jinja2 mongodb rabbitmq

     

    Last edit: Anonymous 2015-08-23
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
  • Change author-email to : develop@discussion.allura.p.re.sf.net

     
  • Updated as much as I could (distutils doesn't fully support PEP 345 yet, as far as I know). Tested by running Allura/setup.py sdist. Contents of PKG-INFO after the build were:

    Metadata-Version: 1.0
    Name: Allura
    Version: 0.1dev
    Summary: Base distribution of the Allura development platform
    Home-page: http://sourceforge.net/p/allura
    Author: SourceForge Team
    Author-email: develop@discussion.allura.p.re.sf.net
    License: Apache License, http://www.apache.org/licenses/LICENSE-2.0
    Description:
    Allura is an open source implementation of a software "forge", a web site
    that manages source code repositories, bug reports, discussions, mailing
    lists, wiki pages, blogs and more for any number of individual projects.

    Keywords: sourceforge allura turbogears pylons jinja2 mongodb rabbitmq
    Platform: Linux
    Platform: MacOS X
    Classifier: Development Status :: 4 - Beta
    Classifier: Environment :: Web Environment
    Classifier: Framework :: Pylons
    Classifier: Framework :: TurboGears
    Classifier: Intended Audience :: Developers
    Classifier: Programming Language :: Python :: 2.6
    Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
    Classifier: License :: OSI Approved :: Apache Software License

    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Dave Brondsema
     
  • tv/1740

     
  • Dave Brondsema

    Dave Brondsema - 2011-05-03
    • status: code-review --> closed
     

Log in to post a comment.