setuptools_scm handles managing your python package versions in scm metadata. It also handles file finders for the supperted scms.