Ensure 'setup.py' works.

setup.py imports the version, which imports the listeners, which imports
the models, but since we're not in a django environment User becomes
None. Work around it...