django-downloadview/django_downloadview/__init__.py
Peter Marheine 60c1839bf5 Replace use of pkg_resources (setuptools)
Since Python 3.12, setuptools isn't included with Python
and importlib is the recommended replacement, available
since Python 3.8.
2024-07-31 11:41:25 +00:00

7 lines
240 B
Python

"""Serve files with Django and reverse proxies."""
from django_downloadview.api import * # NoQA
import importlib.metadata
#: Module version, as defined in PEP-0396.
__version__ = importlib.metadata.version(__package__.replace("-", "_"))