Pegs version in setup.py then imports that in the module __init__ code.