@classmethod<EOL><INDENT>def _split_packages(cls, include_packages):<DEDENT>
passthrough_includes = set([<EOL>six.text_type(package.__name__)<EOL>for package in include_packages<EOL>if not hasattr(package, '<STR_LIT>')<EOL>])<EOL>package_file_paths = dict([<EOL>(six.text_type(os.path.abspath(package.__file__)), six.text_type(package.__name__))<EOL>for package in include_packages<EOL>if hasattr(package, '<STR_LIT>')<EOL>])<EOL>return passthrough_includes, package_file_paths<EOL>
Split an iterable of packages into packages that need to be passed through, and those that need to have their
disk location resolved.

Some modules don't have a '__file__' attribute.  AFAIK these aren't packages, so they can just be passed
through to the includes as-is
:return: 2-tuple of a list of the pass-through includes and the package_root_paths