We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aec33a commit 9441670Copy full SHA for 9441670
pkg_resources/__init__.py
@@ -1403,6 +1403,7 @@ class MarkerEvaluation(object):
1403
'python_version': lambda: platform.python_version()[:3],
1404
'platform_version': platform.version,
1405
'platform_machine': platform.machine,
1406
+ 'platform_python_implementation': platform.python_implementation,
1407
'python_implementation': platform.python_implementation,
1408
}
1409
pkg_resources/api_tests.txt
@@ -420,3 +420,6 @@ Environment Markers
420
421
>>> em("python_version > '2.5'")
422
True
423
+
424
+ >>> im("platform_python_implementation=='CPython'")
425
+ False
0 commit comments