File Beaker-1.6.4-setup_test.patch of Package python-Beaker
Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py @@ -2,6 +2,15 @@ import os import sys import re +# Hack to prevent "TypeError: 'NoneType' object is not callable" error +# in multiprocessing/util.py _exit_function when running `python +# setup.py test` (see +# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) +try: + import multiprocessing +except ImportError: + pass + from setuptools import setup, find_packages v = open(os.path.join(os.path.dirname(__file__), 'beaker', '__init__.py'))