updates to the setup guide

This commit is contained in:
Dima Gerasimov 2020-04-12 13:38:30 +01:00
parent 01b52fcca2
commit f766c8abe5
4 changed files with 40 additions and 23 deletions

View file

@ -11,6 +11,7 @@ from typing import List, Dict, Iterator, NamedTuple, Sequence, Optional
import json
import pytz
# TODO declare DEPENDS = [pytz??]
from ..common import setup_logger
@ -18,10 +19,13 @@ from ..error import ResT, echain, unwrap, sort_res_by
from ..kython.konsume import wrap, zoom, ignore
# TOFO FIXME appdirs??
_POLAR_DIR = Path('~/.polar')
# TODO FIXME lazylogger??
def get_logger():
# TODO __package__?
return logging.getLogger('my.reading.polar')