返回 ppt-master
paths.py
1 #!/usr/bin/env python3
2 """
3 PPT Master - Project Management Paths
4
5 Own the repository and Skill resource roots used by project-management modules.
6
7 Usage:
8 Import the required path constants from project_management.paths.
9
10 Examples:
11 from project_management.paths import PROJECTS_ROOT, SCHEMA_DIR
12
13 Dependencies:
14 None (only uses the standard library)
15 """
16
17 from pathlib import Path
18
19 PACKAGE_DIR = Path(__file__).resolve().parent
20 SCRIPTS_DIR = PACKAGE_DIR.parent
21 SKILL_DIR = SCRIPTS_DIR.parent
22 REPO_ROOT = SKILL_DIR.parent.parent
23 PROJECTS_ROOT = REPO_ROOT / "projects"
24 SOURCE_TO_MD_DIR = SCRIPTS_DIR / "source_to_md"
25 CHARTS_DIR = SKILL_DIR / "templates" / "charts"
26 SCHEMA_DIR = SKILL_DIR / "templates" / "schemas"
27 SCAFFOLD_DIR = SKILL_DIR / "templates" / "scaffolds"
28
28 lines PYTHON