hgrecco/pint — pull request #118 by jbmohler (2014-03-12 13:02:10+00:00)
Title: use 'resource_stream' for compatibility with frozen distributions

Loading resources with pkg_resources.resource_filename does not work if the pint is incorporated into a frozen zipped distribution with (for example) cx_Freeze. However, pkg_resources.resource_stream does still work in that context. The minor downside is that I needed to specify the encoding explicitly.