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