10 lines
251 B
Python
10 lines
251 B
Python
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
KSFT_DIR = (Path(__file__).parent / "../../..").resolve()
|
|
KSRC = (Path(__file__).parent / "../../../../../..").resolve()
|
|
|
|
KSFT_MAIN_NAME = Path(sys.argv[0]).with_suffix("").name
|