the 'right way' to distribute and access data files in a packaged Python module

David Moss drkjam at
Mon Feb 2 16:48:14 EST 2009

> There is a zip-safe flag that you can specify that tells setuptools that
> installing your egg only works if it is unarchived. However, there is also
> the pkg_resources-package that allows you to access streams from within a
> package, even if it is zipped. You should investigate these two options.
> Diez

Exactly what I was looking for.

Thanks Diez!

More information about the Python-list mailing list