2023-12-10 19:04:17 +03:00
|
|
|
from json import dumps
|
2024-07-08 00:38:01 +03:00
|
|
|
from pathlib import Path
|
2023-12-10 19:04:17 +03:00
|
|
|
|
|
|
|
pwd = Path().cwd()
|
|
|
|
dir_core = pwd / "src" / "core"
|
|
|
|
dir_modules_standard = pwd / "src" / "modules" / "standard"
|
|
|
|
dir_modules_custom = pwd / "src" / "modules" / "custom"
|
|
|
|
|
|
|
|
json = {
|
2024-07-08 00:38:01 +03:00
|
|
|
"core": str(dir_core),
|
|
|
|
"modules standard": str(dir_modules_standard),
|
|
|
|
"modules custom": str(dir_modules_custom),
|
2023-12-10 19:04:17 +03:00
|
|
|
}
|
2024-05-01 01:50:18 +03:00
|
|
|
with open("src/paths.json", "w", encoding="utf8") as f:
|
2023-12-10 19:04:17 +03:00
|
|
|
f.write(dumps(json, indent=4))
|