File sqlsoup-0.9.1-setup_test.patch of Package python-sqlsoup
diff --git a/setup.py b/setup.py
index aeef457..7acaf4f 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,15 @@ from setuptools import setup
import os
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
+
v = open(os.path.join(os.path.dirname(__file__), 'sqlsoup.py'))
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1)
v.close()