Sets version only when installing from source.

https://github.com/poise/python/pull/49