config.py 323 B

1234567891011121314151617
  1. from dataclasses import dataclass
  2. from pathlib import Path
  3. from ._config import ReadsCfg
  4. from .helpers import make_path
  5. @dataclass
  6. class Config(ReadsCfg):
  7. module_base: Path
  8. template_base: Path
  9. section_header = "mako_testing"
  10. converters = {Path: make_path}
  11. config = Config.from_cfg_file("./setup.cfg")