Commit d8bad022 authored by Stefan Behnel's avatar Stefan Behnel

minor cleanup

parent b3f6d175
......@@ -20,9 +20,9 @@ from distutils.core import setup
# (In particular, TravisCI does not support spawning processes from tests.)
try:
import multiprocessing
multiprocessing.Pool(2)
multiprocessing.Pool(2).close()
nthreads = 2
except:
except (ImportError, OSError):
nthreads = 0
setup(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment