This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: bundlebuilder: an arg to disable zipping the code
Type: enhancement Stage:
Components: macOS Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: reowen, ronaldoussoren
Priority: normal Keywords:

Created on 2004-02-19 18:36 by reowen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg61160 - (view) Author: Russell Owen (reowen) Date: 2004-02-19 18:36
I'd like an argument to bundlebuilder.buildapp that disables 
zipping the Python code.

Actually, what I'd really like is some way to specify that 
certain packages should appear unzipped, e.g.:

but I suspect that's too complicated compared to simply not 
zipping anything.

The reason I want this is I have code that does two different 
things that break when zipped:
- Auto-loads modules found by hunting for them in a 
directory tree. (I could probably learn to search within a zip 
file, but yecch).
- Contains resources (sound files and html files) mixed with 
python code. These resources have to be accessed as files.

Right now I'm using:
bundlebuilder.USE_ZIPIMPORT = False

and it works, but simply importing bundlebuilder has it do 
some things it probably shouldn't do if I am not zipping files. 
(In other words I can only set USE_ZIPIMPORT a bit late, 
and I'm not sure all the consequences are harmless.)
msg78817 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-01-02 15:26
Fixed in r68163
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39952
2009-01-02 15:26:25ronaldoussorensetstatus: open -> closed
resolution: fixed
messages: + msg78817
nosy: + ronaldoussoren
2004-02-19 18:36:09reowencreate