'Create a new path pointer pointing at the specified entry
in the given zipfile.
:raise IOError: If the given zipfile does not exist, or if it
does not contain the specified entry.'

@py3_data
def __init__(self, zipfile, entry=u''):

    if isinstance(zipfile, string_types):
        zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
    entry = normalize_resource_name(entry, True, u'/').lstrip(u'/')
    if entry:
        try:
            zipfile.getinfo(entry)
        except Exception:
            if (entry.endswith(u'/') and [n for n in zipfile.namelist() if n.startswith(entry)]):
                pass
            else:
                raise IOError((u'Zipfile    %r    does    not    contain    %r' % (zipfile.filename, entry)))
    self._zipfile = zipfile
    self._entry = entry
