[Distutils] distutils bug.

Titus Brown titus at caltech.edu
Sun May 22 00:34:30 CEST 2005


Hi all,

it seems that distutils doesn't recognize '.zip' files as being part of
packages, so if I have the following structure,

	twill/__init__.py
	twill/pyparsing.zip
	twill/mechanize.zip
	twill/shell.py
	twill/commands.py

then packages = ['twill',] doesn't install the .zip files.

Quixote has a simple solution that uses the cmdclass option to respecify
things for (in their case) *.ptl files, and it works fine for .zip
files.

I'm pretty sure .zip files should be considered as valid as .py files,
by default.  Any thoughts?

cheers,
--titus


More information about the Distutils-SIG mailing list