fix: fallback to importlib_metadata on older python

This commit is contained in:
Lance Edgar 2024-06-14 17:30:53 -05:00
parent f5b24562b4
commit 39193bb27b

View file

@ -1,6 +1,9 @@
# -*- coding: utf-8; -*-
try:
from importlib.metadata import version
except ImportError:
from importlib_metadata import version
__version__ = version('rattail-mailchimp')