[Distutils] Including an empty directory

Andrew Kuchling akuchlin@mems-exchange.org
Mon Apr 2 11:05:01 2001


On Mon, Apr 02, 2001 at 04:44:07PM +0200, Konrad Hinsen wrote:
>How can I tell Distutils to include an empty directory in the source
>code distribution?

Hmm... looks like you can't.  If a file fails an os.path.isfile()
check, sdist.py skips it and prints a warning.  That's probably worth
loosening.  Creating directories makes sense, but I don't think we
need to support symlinks or more exotic file types such as pipes.

--amk