[Python-ideas] bdist naming scheme (compatibility tags) PEP

Eric Snow ericsnowcurrently at gmail.com
Wed Aug 8 15:31:35 CEST 2012

On Aug 8, 2012 5:15 AM, "Daniel Holth" <dholth at gmail.com> wrote:
> Today pypy and CPython's "setup.py bdist" generate the same filename
> but incompatible bdists. This makes it difficult to share both bdists
> in the same folder or index. Instead, they should generate different
> bdist filenames because one won't work with the other implementation.
> This PEP specifies a tagging system that includes enough information
> to decide whether a particular bdist is expected to work on a
> particular Python

Consider using sys.implementation to get name/version.  The cache_tag
should be particularly helpful.  The 2-character approach for
implementation names requires unnecessary curating.


> Also at
> Thanks for your feedback,
> Daniel Holth
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120808/fba4b484/attachment.html>

More information about the Python-ideas mailing list