code: def find_package_base(path):
      base_dir, package_path = os.path.split(path)
      while os.path.isfile(os.path.join(base_dir, "__init__.py")):
          base_dir, parent = os.path.split(base_dir)
          package_path = "%s/%s" % (parent, package_path)
      return base_dir, package_path
  
imports: from __future__ import absolute_import
  import os
  import shutil
  import tempfile
  from distutils.core import setup
  from .Dependencies import cythonize, extended_iglob
  from ..Utils import is_package_dir
  from ..Compiler import Options
label_desc: Use image node_id 4 for calling a global function with example usage: find_package_base(path) and returns: base_dir,  package_path