From https://www.python.org/dev/peps/pep-0425/#python-tag
Other Python implementations should use sys.implementation.name.
We should probably use sys.implementation.name in packaging.tags, instead of platform.python_implementation().lower(), if it exists.
|
name = platform.python_implementation().lower() |
Relevant discussion about platform.python_implementation() vs sys.implementation: https://www.python.org/dev/peps/pep-0421/#platform-python-implementation
From https://www.python.org/dev/peps/pep-0425/#python-tag
We should probably use
sys.implementation.namein packaging.tags, instead ofplatform.python_implementation().lower(), if it exists.packaging/packaging/tags.py
Line 341 in d09b0b5
Relevant discussion about
platform.python_implementation()vssys.implementation: https://www.python.org/dev/peps/pep-0421/#platform-python-implementation