Make setup importable.

Also define versiondata variable for use with sphinx.