constants.py 328 B

12345678910111213141516171819
  1. '''
  2. Parameters for the curent project
  3. @author: olivier.massot, 2018
  4. '''
  5. from path import Path
  6. VERSION = "0.4.0"
  7. MAIN = Path(__file__).parent.parent.abspath()
  8. RSCDIR = MAIN / "ui" / "rsc"
  9. LOGDIR = Path("%appdata%").expandvars() / "mncheck"
  10. LOGDIR.mkdir_p()
  11. LOGCONF = MAIN / "core" / "logging.yaml"