Skip to content
This repository
Browse code

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

  • Loading branch information...
commit b781239e850ec8e1947c4951576879dbcea27319 1 parent 45a8167
Erik Rose authored July 08, 2012

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  setup.py
7  setup.py
... ...
@@ -1,5 +1,12 @@
1 1
 import sys
2 2
 
  3
+# Prevent spurious errors during `python setup.py test`, a la
  4
+# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
  5
+try:
  6
+    import multiprocessing
  7
+except ImportError:
  8
+    pass
  9
+
3 10
 from setuptools import setup, find_packages
4 11
 
5 12
 

0 notes on commit b781239

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