[Catalog-sig] Distinguishing PEP 345 distributions from old ones.

Alexis Métaireau alexis at notmyidea.org
Thu May 24 15:07:20 CEST 2012


> the metadata version, which is 1.2

That doesn't seem to be available in PyPI direclty, nor via the XML-RPC 
interface: http://pypi.python.org/pypi/pelican/json

>>> import xmlrpclib
>>> client = xmlrpclib.ServerProxy('http://pypi.python.org/pypi')
>>> client.release_data('Pelican', '2.8.1')/keys()
['maintainer',
 'docs_url',
 'requires_python',
 'maintainer_email',
 'cheesecake_code_kwalitee_id',
 'keywords',
 'package_url',
 'author',
 'author_email',
 'download_url',
 'platform',
 'version',
 'cheesecake_documentation_id',
 '_pypi_hidden',
 'description',
 'release_url',
 '_pypi_ordering',
 'classifiers',
 'name',
 'bugtrack_url',
 'license',
 'summary',
 'home_page',
 'stable_version',
 'cheesecake_installability_id']

However, this is present in the uploaded distributions, in the 
generated PKG-INFO when creating the sdist. Any reason this information 
is not available without having to download the sdist?



More information about the Catalog-SIG mailing list