class_docstr: Generate a list of all Python packages found within a directory
class_docstr_tok: ["Generate","a","list","of","all","Python","packages","found","within","a","directory"]
docstr: Does a directory look like a package?
docstr_tok: ["Does","a","directory","look","like","a","package","?"]
code: def _looks_like_package(path):
      """Does a directory look like a package?"""
      return os.path.isfile(os.path.join(path, "__init__.py"))
  
imports: import os
  import sys
  import functools
  import distutils.core
  import distutils.filelist
  import re
  from distutils.errors import DistutilsOptionError
  from distutils.util import convert_path
  from fnmatch import fnmatchcase
  from ._deprecation_warning import SetuptoolsDeprecationWarning
  from setuptools.extern.six import PY3, string_types
  from setuptools.extern.six.moves import filter, map
  import setuptools.version
  from setuptools.extension import Extension
  from setuptools.dist import Distribution, Feature
  from setuptools.depends import Require
  from .None import monkey
label_desc: Use image node_id 3 for calling the PackageFinder obj's underlying member method code with example usage: obj._looks_like_package(path) and returns: os