Make __version__ global available for all supported python versions
Extract the version information from the packaging and set it as version global. For the still supported python 3.7 this also handles the installation of the importlib-metadata
package.