2import sys
3import pyrocko
4if pyrocko.grumpy == 1:
5 sys.stderr.write('using renamed pyrocko module: pyrocko.seisan_response\n')
6 sys.stderr.write(' -> should now use: pyrocko.io.seisan_response\n\n')
7elif pyrocko.grumpy == 2:
8 sys.stderr.write('pyrocko module has been renamed: pyrocko.seisan_response\n')
9 sys.stderr.write(' -> should now use: pyrocko.io.seisan_response\n\n')
10 raise ImportError('Pyrocko module "pyrocko.seisan_response" has been renamed to "pyrocko.io.seisan_response".')
12from pyrocko.io.seisan_response import *