Distributing python applications as a zip file

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Jul 23 20:55:25 EDT 2014


On Wed, 23 Jul 2014 15:23:10 +0300, Burak Arslan wrote:

> On 07/23/14 07:23, Steven D'Aprano wrote:
>> A little known feature of Python: you can wrap your Python application
>> in a zip file and distribute it as a single file.
[...]
> does it support package_data? or more specifically, does
> pkg_resources.resource_* detect that the script is running from a zip
> file and adjust accordingly?

No idea, sorry. Why don't you try it and see? Please let us know what you 
find.

-- 
Steven



More information about the Python-list mailing list