code: def get(path, name):  # type: (str, str) -> _EntryPointType
      
      if 'setup.py' in os.listdir(path):
          return _EntryPointType.PYTHON_PACKAGE
      elif name.endswith('.py'):
          return _EntryPointType.PYTHON_PROGRAM
      else:
          return _EntryPointType.COMMAND
docs: Args:
          path (string): Directory where the entry point is located
          name (string): Name of the entry point file
  
      Returns:
          (_EntryPointType): The type of the entry point