1import sys 2 3from .merge_dictionaries import merge_dictionaries 4 5platform_name = { 6 # From Python version 3.3: On Linux, sys.platform doesn't contain the major version anymore. 7 # It is always 'linux'. See 8 # https://docs.python.org/3/library/sys.html#sys.platform 9 "linux": "linux", 10 "linux2": "linux", 11 "win32": "windows", 12 "cygwin": "windows", 13 "darwin": "mac" 14}.get(sys.platform) 15