[ python-Feature Requests-900506 ] bundlebuilder: an arg to disable zipping the code

SourceForge.net noreply at sourceforge.net
Thu Feb 19 13:36:10 EST 2004


Feature Requests item #900506, was opened at 2004-02-19 10:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=900506&group_id=5470

Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Nobody/Anonymous (nobody)
Summary: bundlebuilder: an arg to disable zipping the code

Initial Comment:
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.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=900506&group_id=5470



More information about the Python-bugs-list mailing list