From a6027498a0cf4f9a26ed2531e3d0b66b7fa5afb5 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sun, 30 Mar 2014 22:50:01 +0200 Subject: [PATCH] Workaround for nose traceback on Python 2.6; fixes #109 --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index d98428b..a8f9f0e 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,11 @@ # -*- coding: utf-8 -*- from __future__ import with_statement from setuptools import setup +try: + # http://bugs.python.org/issue15881#msg170215 + import multiprocessing +except ImportError: + pass def get_version(fname='flake8/__init__.py'):