import importlib.metadata
_DISTRIBUTION_METADATA = importlib.metadata.metadata('MyProjectName')
author = _DISTRIBUTION_METADATA['Author']
project = _DISTRIBUTION_METADATA['Name']
version = _DISTRIBUTION_METADATA['Version']
import importlib.metadata
_DISTRIBUTION_METADATA = importlib.metadata.metadata('MyProjectName')
author = _DISTRIBUTION_METADATA['Author']
project = _DISTRIBUTION_METADATA['Name']
version = _DISTRIBUTION_METADATA['Version']