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

Daniel Holth dholth at gmail.com
Tue Sep 18 21:31:27 CEST 2012

On Mon, Sep 17, 2012 at 8:39 AM, M.-A. Lemburg <mal at egenix.com> wrote:
> Daniel Holth wrote:
>>>> Platform Tag
>>>> ------------
>>>> The platform tag is simply `distutils.util.get_platform()` with all
>>>> hyphens `-` and periods `.` replaced with underscore `_`.
>>> This part is going to cause problems. distutils is good at identifying
>>> Linux and Windows and giving them sensible platform names, but it
>>> doesn't do a good job for other OSes.
>> http://www.python.org/dev/peps/pep-0425/
> I still don't think that referencing the distutils function
> in the PEP is a good idea :-) It would be better to create
> a new helper.

How about just sysconfig.get_platform()?

More information about the Python-ideas mailing list