24 May
2000
24 May
'00
7:34 p.m.
Greg Ward writes:
The easiest solution is zero-byte __init__.py files. Then auto-generation is a snap, and there's no need to worry about mxDateTime clobbering the mx/__init__.py from mxTextTools (or vice-versa).
Note that WinZip, which is commonly used, doesn't archive zero-length files under some circumstances; occasionally people run into this when they unzip a directory and can't import from the package. Hence the convention of just putting a comment in __init__.py, to avoid having a zero-length file. --amk