Mercurial > bitten > bitten-test
changeset 646:fe344dac8385
0.6dev: Workaround for bug with setuptools and multiprocess logging with Python 2.6.2+. Thanks to Hodgestar (irc) for report and patch.
author | osimons |
---|---|
date | Mon, 24 Aug 2009 12:23:08 +0000 |
parents | 8c824b14e1c5 |
children | 6fe6fc8ee36c |
files | setup.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -19,6 +19,12 @@ except ImportError: build_doc = test_doc = None +# Turn off multiprocessing logging +# Bug in setuptools/distutils test runner using Python 2.6.2+? +import logging +if hasattr(logging, 'logMultiprocessing'): + logging.logMultiprocessing = 0 + NS = 'http://bitten.cmlenz.net/tools/' recipe_commands = [ NS + 'sh#exec = bitten.build.shtools:exec_',