Skip to content
Browse files

Dodge spurious atexit error after running tests.

  • Loading branch information...
1 parent 12db16a commit 04cabbea18ed9b155572ba00ec01c9729e8c7e2e @erikrose erikrose committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 setup.py
View
7 setup.py
@@ -2,6 +2,13 @@
import re
from os.path import join, dirname
+# Prevent spurious errors during `python setup.py test`, a la
+# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
+try:
+ import multiprocessing
+except ImportError:
+ pass
+
from setuptools import setup, find_packages

0 comments on commit 04cabbe

Please sign in to comment.
Something went wrong with that request. Please try again.