class_docstr: Inform users that package or module is included as 'data file'
class_docstr_tok: ["Inform","users","that","package","or","module","is","included","as","'data","file","'"]
code: def importable_subpackage(self, parent, file):
      pkg = Path(file).parent
      parts = list(itertools.takewhile(str.isidentifier, pkg.parts))
      if parts:
          return ".".join([parent, *parts])
      return None
  
imports: from functools import partial
  from glob import glob
  from distutils.util import convert_path
  import distutils.command.build_py
  import os
  import fnmatch
  import textwrap
  import distutils.errors
  import itertools
  import stat
  from pathlib import Path
  from typing import Dict, Iterable, Iterator, List, Optional, Tuple
  from ..extern.more_itertools import unique_everseen
  from ..warnings import SetuptoolsDeprecationWarning
label_desc: Use image node_id 3 for calling the _IncludePackageDataAbuse obj's underlying member method code with example usage: obj.importable_subpackage(parent, file) and returns: None, str