Permalink
Browse files

Make `python setup.py test` work without spurious errors.

  • Loading branch information...
1 parent 45a8167 commit b781239e850ec8e1947c4951576879dbcea27319 @erikrose committed Jul 9, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 setup.py
View
@@ -1,5 +1,12 @@
import sys
+# 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 b781239

Please sign in to comment.