[Distutils] python setup.py test not working on Linux
Phillip J. Eby
pje at telecommunity.com
Fri Jan 20 00:13:43 CET 2006
At 11:16 PM 01/19/2006 +0100, Gerhard Häring wrote:
>AttributeError: 'module' object has no attribute 'test'
This is probably an indication that the '.test' package was not importable
for some reason.
Try this:
python setup.py develop
python -c "import pysqlite2.test"
and see what happens. The unittest package is rather notorious for not
giving good error messages in the case of a failed import. It should
really reraise the ImportError when it is unable to find an attribute.
More information about the Distutils-SIG
mailing list