Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-sqlsoup
sqlsoup-0.9.1-setup_test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor