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:
parent
fbaa8e0b44
commit
109edd9da3
8 changed files with 82 additions and 21 deletions
|
@ -1,6 +1,9 @@
|
|||
'''
|
||||
Rescuetime (phone activity tracking) data.
|
||||
'''
|
||||
REQUIRES = [
|
||||
'git+https://github.com/karlicoss/rescuexport',
|
||||
]
|
||||
|
||||
from pathlib import Path
|
||||
from datetime import datetime, timedelta
|
||||
|
@ -21,7 +24,6 @@ def inputs() -> Sequence[Path]:
|
|||
return get_files(config.export_path)
|
||||
|
||||
|
||||
# pip git+https://github.com/karlicoss/rescuexport
|
||||
import rescuexport.dal as dal
|
||||
DAL = dal.DAL
|
||||
Entry = dal.Entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue