flask_compress/__init__.py
raw| 1 | from .flask_compress import CacheBackend, Compress, DictCache |
| 2 | |
| 3 | # _version.py is generated by setuptools_scm when building the package. |
| 4 | # It is not version-controlled, so if it is missing, this likely means that |
| 5 | # the imported code was installed from the git repo without using "editable" mode. |
| 6 | try: |
| 7 | from ._version import __version__ |
| 8 | except ImportError: |
| 9 | __version__ = "0" |
| 10 | |
| 11 | |
| 12 | __all__ = ("CacheBackend", "Compress", "DictCache") |