Skip to content

Commit

Permalink
Be more careful with the multiprocessing,logging import hack.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Apr 16, 2012
1 parent 8f7332f commit a885726
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Expand Up @@ -7,7 +7,10 @@

# Ridiculous as it may seem, we need to import multiprocessing and logging here
# in order to get tests to pass smoothly on python 2.7.
import multiprocessing, logging
try:
import multiprocessing, logging
except:
pass

def get_description(fname='README.rst'):
# Adapted from PEAK-Rules' setup.py
Expand Down

0 comments on commit a885726

Please sign in to comment.