OSDN Git Service

f9e66a1ff7f15b3d5c6146e02340dd03bb98d87c
[stux/ultron.git] / venv / Lib / site-packages / pip / _vendor / cachecontrol / caches / __init__.py
1 from textwrap import dedent
2
3 try:
4     from .file_cache import FileCache
5 except ImportError:
6     notice = dedent('''
7     NOTE: In order to use the FileCache you must have
8     lockfile installed. You can install it via pip:
9       pip install lockfile
10     ''')
11     print(notice)
12
13
14 try:
15     import redis
16     from .redis_cache import RedisCache
17 except ImportError:
18     pass