mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-24 08:34:42 +03:00
16 lines
440 B
Python
16 lines
440 B
Python
|
from pathlib import Path
|
||
|
from json import dumps
|
||
|
|
||
|
pwd = Path().cwd()
|
||
|
dir_core = pwd / "src" / "core"
|
||
|
dir_modules_standard = pwd / "src" / "modules" / "standard"
|
||
|
dir_modules_custom = pwd / "src" / "modules" / "custom"
|
||
|
|
||
|
json = {
|
||
|
'core': str(dir_core),
|
||
|
'modules standard': str(dir_modules_standard),
|
||
|
'modules custom': str(dir_modules_custom),
|
||
|
}
|
||
|
with open("paths.json", "w", encoding="utf8") as f:
|
||
|
f.write(dumps(json, indent=4))
|