diff --git a/euphonic/data/interpolation.py b/euphonic/data/interpolation.py index 5513b2f6f..086f93ef3 100644 --- a/euphonic/data/interpolation.py +++ b/euphonic/data/interpolation.py @@ -250,16 +250,9 @@ def calculate_fine_phonons( # Try to create a multiprocessing pool first, in case it fails if nprocs > 1: try: - import signal from multiprocessing import Pool from functools import partial - # Temporarily remove SIGINT handler before creating pool, so - # child processes don't inherit it. Instead handle SIGINT - # (e.g. keyboard interrupts) from the main process only and - # terminate the pool before exiting - sigint_handler = signal.signal(signal.SIGINT, signal.SIG_IGN) pool = Pool(processes=nprocs) - signal.signal(signal.SIGINT, sigint_handler) except RuntimeError: warnings.warn(('\nA RuntimeError was raised when initialising ' 'the multiprocessing Pool. This is probably due' diff --git a/setup.py b/setup.py index 88ac3642d..74cede0ba 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='euphonic', - version='0.1dev2', + version='0.1dev3', author='Rebecca Fair', author_email='rebecca.fair@stfc.ac.uk', description=(