[WS] Small refactoring

git-svn-id: svn://kolibrios.org@9385 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-12-04 10:55:50 +00:00
parent b8453028f7
commit e954bb32fd
2 changed files with 17 additions and 5 deletions

View File

@@ -1,8 +1,22 @@
import os
### PATHS
# _tools/lib/constants.py
tools_lib_constants_py = os.path.abspath(__file__)
# _tools/lib
tools_lib = os.path.dirname(tools_lib_constants_py)
# _tools
tools = os.path.dirname(tools_lib)
# _tools/workspace
tools_workspace = os.path.join(tools, "workspace")
# _tools/cache
tools_cache = os.path.join(tools, "cache")
# _tools/cache/kolibri.img
tools_cache_kolibri_img = os.path.join(tools_cache, "kolibri.img")