parameters: (archive_root)
return_statement: return result
docstring: Return our platform name 'win32', 'linux_x86_64
docstring_summary: Return our platform name 'win32', 'linux_x86_64
docstring_tokens: Return our platform name win32 linux_x86_64
function: def get_platform(archive_root):
      """Return our platform name 'win32', 'linux_x86_64'"""
      # XXX remove distutils dependency
      result = distutils.util.get_platform()
      if result.startswith("macosx") and archive_root is not None:
          result = calculate_macosx_platform_tag(archive_root, result)
      if result == "linux_x86_64" and sys.maxsize == 2147483647:
          # pip pull request #3497
          result = "linux_i686"
      return result
function_tokens: def get_platform ( archive_root ) : # XXX remove distutils dependency result = distutils . util . get_platform ( ) if result . startswith ( "macosx" ) and archive_root is not None : result = calculate_macosx_platform_tag ( archive_root , result ) if result == "linux_x86_64" and sys . maxsize == 2147483647 : # pip pull request #3497 result = "linux_i686" return result