From 14336081ca1e40750055c79ad51e3eb1a9749f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20DA=20ROCHA?= Date: Thu, 25 Jun 2020 16:09:05 +0200 Subject: [PATCH] #62 solve celery incompatibility --- setup.py | 2 +- timeout_decorator/timeout_decorator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3d6fbb7..bb849b4 100644 --- a/setup.py +++ b/setup.py @@ -34,5 +34,5 @@ author_email='pn.appdev@gmail.com', url='https://github.com/pnpnpn/timeout-decorator', packages=['timeout_decorator'], - install_requires=[], + install_requires=['billiard'], classifiers=CLASSIFIERS) diff --git a/timeout_decorator/timeout_decorator.py b/timeout_decorator/timeout_decorator.py index 2b3121d..8841c95 100644 --- a/timeout_decorator/timeout_decorator.py +++ b/timeout_decorator/timeout_decorator.py @@ -11,7 +11,7 @@ import sys import time -import multiprocessing +import billiard as multiprocessing import signal from functools import wraps