The `imp` module is pending deprecation in Python 3.4, suggests using `importlib` instead. 

(Python 2.x doesn't have `importlib` and `imp` is probably fine there.)