Skip to content

Commit

Permalink
Make python setup.py test work without spurious errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrose committed Jul 9, 2012
1 parent 45a8167 commit b781239
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down

0 comments on commit b781239

Please sign in to comment.