general: add compat module and helper for easy backwards compatibiltity for pre-PIP dependencies

my.hypothesis: use hypexport as a proper PIP package + fallback
This commit is contained in:
Dima Gerasimov 2020-09-29 17:40:16 +01:00
parent fbaa8e0b44
commit 59f355fbec
8 changed files with 82 additions and 21 deletions

View file

@ -1,6 +1,9 @@
"""
Reddit data: saved items/comments/upvotes/etc.
"""
REQUIRES = [
'git+https://github.com/karlicoss/rexport',
]
from typing import Optional
from .core.common import Paths, PathIsh