forked from pool/python-Beaker
- fix deps - enable full testing - add workaround for TypeError in multiprocessing/util.py - don't package PKG-INFO OBS-URL: https://build.opensuse.org/request/show/186405 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=23
21 lines
584 B
Diff
21 lines
584 B
Diff
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'))
|