Message61160
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.) |
|
Date |
User |
Action |
Args |
2008-01-20 09:59:33 | admin | link | issue900506 messages |
2008-01-20 09:59:33 | admin | create | |
|