mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-05-10 00:24:51 +00:00
Since Python 3.12, setuptools isn't included with Python and importlib is the recommended replacement, available since Python 3.8.
7 lines
240 B
Python
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("-", "_"))
|