from pkg_resources import resource_stream, Requirement
vik_logo_as_stream = resource_stream(Requirement.parse('enb.portals'),
    'enb/portals/reports/VIK_logo.png')
Python Access Data in Package Subdirectory