def parse_bdist_wininst(name):
 lower = name.lower()
 (base, py_ver) = (None, None)
 if lower.endswith('.exe'):
  if lower.endswith('.win32.exe'):
   base = name[:(-10)]
  elif lower.startswith('.win32-py', (-16)):
   py_ver = name[(-7):(-4)]
   base = name[:(-16)]
 return (base, py_ver)

def parse_bdist_wininst ( name ) : lower = name . lower ( ) ( base , py_ver ) = ( None , None ) if lower . endswith ( '.exe' ) : if lower . endswith ( '.win32.exe' ) : base = name [ : ( - 10 ) ] elif lower . startswith ( '.win32-py' , ( - 16 ) ) : py_ver = name [ ( - 7 ) : ( - 4 ) ] base = name [ : ( - 16 ) ] return ( base , py_ver )
return or for possible .