constants.py 492 B

1234567891011121314151617181920212223242526
  1. '''
  2. Parameters for the curent project
  3. @author: olivier.massot, 2018
  4. '''
  5. from path import Path
  6. VERSION = "1.0.3"
  7. MAIN = Path(__file__).parent.parent.abspath()
  8. CONTACT = "sig@manchenumerique.fr"
  9. RSCDIR = MAIN / "ui" / "rsc"
  10. TESTDIR = MAIN / "test"
  11. LOGCONF = MAIN / "core" / "logging.yaml"
  12. USER_DIR = Path("%appdata%").expandvars() / "mncheck"
  13. USER_DIR.mkdir_p()
  14. LOGDIR = USER_DIR
  15. USER_DATA = USER_DIR / 'user.yaml'
  16. COVERAGE_DIR = Path(MAIN / "coverage")