[Spambayes] setup.py needs python > 2.2.3
sean darcy
seandarcy at hotmail.com
Sun Aug 17 15:00:21 EDT 2003
setup.py ( today's cvs) doesn't work with python - 2.2.3 , at least on
linux:
./setup.py
/usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown distribution
option: 'classifiers'
warnings.warn(msg)
setup.py tests as follows:
# patch distutils if it can't cope with the "classifiers" keyword.
# this just makes it ignore it.
if sys.version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
I changed the test to < '2.2.4'. Worked for me. But ... does it really work
for 2.2.4 +?
sean
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Spambayes
mailing list