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 committed by karlicoss
parent fbaa8e0b44
commit 109edd9da3
8 changed files with 82 additions and 21 deletions

View file

@ -1,6 +1,12 @@
'''
Endomondo exercise data
'''
REQUIRES = [
'git+https://github.com/karlicoss/endoexport',
]
# todo use ast in setup.py or doctor to extract the corresponding pip packages?
from dataclasses import dataclass
from pathlib import Path
from typing import Sequence, Iterable