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.

Author reowen
Recipients
Date 2004-02-19.18:36:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.:
/Contents/Resources/
  Modules.zip
  special_nonzipped_package/

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.)
History
Date User Action Args
2008-01-20 09:59:33adminlinkissue900506 messages
2008-01-20 09:59:33admincreate